3 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t
5 # RUN: %lld -e A %t -o %t.out --icf=all
6 # RUN: llvm-nm --numeric-sort %t.out | FileCheck %s
7 # RUN: %lld -e A %t -o %t2.out
8 # RUN: llvm-nm --numeric-sort %t2.out | FileCheck %s --check-prefix=NOICF
35 .subsections_via_symbols
37 # CHECK: [[#%.16x,A:]] T A
38 # CHECK-NEXT: [[#%.16x,A+8]] T C
39 # CHECK-NEXT: [[#%.16x,A+8]] T D
40 # CHECK-NEXT: [[#%.16x,A+16]] T B
42 # NOICF: [[#%.16x,A:]] T A
43 # NOICF-NEXT: [[#%.16x,A+8]] T B
44 # NOICF-NEXT: [[#%.16x,A+16]] T C
45 # NOICF-NEXT: [[#%.16x,A+24]] T D