3 # RUN: rm -rf %t && split-file %s %t && cd %t
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 a.s -o a.o
6 # RUN: ld.lld -e A a.o --symbol-ordering-file=order --call-graph-profile-sort=hfsort -o out
7 # RUN: llvm-nm --numeric-sort out | FileCheck %s
8 # RUN: ld.lld -e A a.o --call-graph-profile-sort=hfsort -o out1
9 # RUN: llvm-nm --numeric-sort out1 | FileCheck %s --check-prefix=ONLY-CG
16 .section .text.D,"ax"; .globl D; D:
19 .section .text.C,"ax"; .globl C; C:
22 .section .text.B,"ax"; .globl B; B:
25 .section .text.A,"ax"; .globl A; A: