3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: echo "A B 5" > %t.call_graph
5 # RUN: echo "B C 50" >> %t.call_graph
6 # RUN: echo "C D 40" >> %t.call_graph
7 # RUN: echo "D B 10" >> %t.call_graph
8 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2
9 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
12 # CHECK-NEXT: Value: 0x201123
14 # CHECK-NEXT: Value: 0x201120
16 # CHECK-NEXT: Value: 0x201121
18 # CHECK-NEXT: Value: 0x201122
20 .section .text.A,"ax",@progbits
25 .section .text.B,"ax",@progbits
30 .section .text.C,"ax",@progbits
35 .section .text.D,"ax",@progbits