3 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
4 # RUN: %lld -lSystem -e A -o %t.out %t.o
5 # RUN: llvm-nm --numeric-sort %t.out | FileCheck %s
6 # RUN: %lld --no-call-graph-profile-sort -lSystem -e A -o %t.out %t.o
7 # RUN: llvm-nm --numeric-sort %t.out | FileCheck %s --check-prefix=NO-CG
23 .subsections_via_symbols
34 # CHECK: 00000001000002c8 T A
35 # CHECK: 00000001000002c9 T B
36 # CHECK: 00000001000002ca T C
37 # CHECK: 00000001000002cb t D
39 # NO-CG: 00000001000002c8 t D
40 # NO-CG: 00000001000002c9 T C
41 # NO-CG: 00000001000002ca T B
42 # NO-CG: 00000001000002cb T A