3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld -e A %t.o -o %t
5 # RUN: llvm-nm --no-sort %t | FileCheck %s
6 # RUN: ld.lld --no-call-graph-profile-sort -e A %t.o -o %t
7 # RUN: llvm-nm --no-sort %t | FileCheck %s --check-prefix=NO-CG
9 .section .text.D,"ax",@progbits
13 .section .text.C,"ax",@progbits
18 .section .text.B,"ax",@progbits
23 .section .text.A,"ax",@progbits
36 # CHECK: 0000000000201123 t D
37 # CHECK: 0000000000201122 T C
38 # CHECK: 0000000000201121 T B
39 # CHECK: 0000000000201120 T A
41 # NO-CG: 0000000000201120 t D
42 # NO-CG: 0000000000201121 T C
43 # NO-CG: 0000000000201122 T B
44 # NO-CG: 0000000000201123 T A