aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/icf8.s
blob: 51163eab69efd75f4a851d1b7bd9c80df899b04d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t.so --icf=all -shared
# RUN: llvm-objdump -t %t.so | FileCheck %s

# CHECK: zed

        .section        .foo,"ax",@progbits
        nop

        .section        .bar,"ax",@progbits
zed:
        nop