1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t.o %s 2# RUN: llvm-jitlink -noexec -entry hook %t.o 3# 4# Make sure that an empty __text section doesn't cause any problems. 5 6 .section __TEXT,__text,regular,pure_instructions 7 .macosx_version_min 10, 15 8l_empty: 9 10 .section __TEXT,__const 11 .globl hook 12 .p2align 2 13hook: 14 .long 42 15 16.subsections_via_symbols 17