17 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t.o %s2# RUN: llvm-jitlink -noexec -entry hook %t.o3#4# Make sure that an empty __text section doesn't cause any problems.5 6 .section __TEXT,__text,regular,pure_instructions7 .macosx_version_min 10, 158l_empty:9 10 .section __TEXT,__const11 .globl hook12 .p2align 213hook:14 .long 4215 16.subsections_via_symbols17