brintos

brintos / llvm-project-archived public Read only

0
0
Text · 768 B · eb3a30b Raw
51 lines · plain
1# REQUIRES: x862 3# RUN: rm -rf %t; split-file %s %t4# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/test.s -o %t/test.o5 6# RUN: %lld -e A %t/test.o -order_file %t/order_file -o %t/test 7# RUN: llvm-nm --numeric-sort %t/test | FileCheck %s8# RUN: %lld -e A %t/test.o -o %t/test 9# RUN: llvm-nm --numeric-sort %t/test | FileCheck %s --check-prefix NO-ORDER10 11 12#--- order_file13B14A15 16#--- test.s17 18.text19    .globl  D20D:21    retq22 23    .globl  C24C:25    retq26 27    .globl  B28B:29    retq30 31    .globl  A32A:33    retq34 35.cg_profile A, B, 10036.cg_profile A, C,  4037.cg_profile C, D,  6138 39.subsections_via_symbols40 41# CHECK:      T B42# CHECK-NEXT: T A43# CHECK-NEXT: T C44# CHECK-NEXT: T D45 46# NO-ORDER:      T A47# NO-ORDER-NEXT: T B48# NO-ORDER-NEXT: T C49# NO-ORDER-NEXT: T D50 51