35 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t4# RUN: %lld -e A %t -o %t2 --print-symbol-order=%t35# RUN: FileCheck %s --input-file %t36 7# CHECK: B8# CHECK-NEXT: C9# CHECK-NEXT: D10# CHECK-NEXT: A11 12.text13.globl A14A:15 nop16 17.globl B18B:19 nop20 21.globl C22C:23 nop24 25.globl D26D:27 nop28 29.subsections_via_symbols30 31.cg_profile A, B, 532.cg_profile B, C, 5033.cg_profile C, D, 4034.cg_profile D, B, 1035