[ELF] Refine isExported/isPreemptible condition
[llvm-project.git] / lld / test / ELF / icf4.s
blob310577a55c0d8591032e7ce3a0655d4e326fb6b6
1 # REQUIRES: x86
3 # RUN: llvm-mc --crel -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: ld.lld %t -o /dev/null --icf=all --print-icf-sections | count 0
6 .globl _start, f1, f2
7 _start:
8 ret
10 .section .text.f1, "ax"
11 f1:
12 mov $1, %rax
14 .section .text.f2, "ax"
15 f2:
16 mov $0, %rax