1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t %s 2# RUN: llvm-jitlink -noexec %t 3# 4# Check that JITLink handles MachO sections with the same section name but 5# different segment names. 6 7 .section __TEXT,__text,regular,pure_instructions 8 .build_version macos, 11, 0 sdk_version 11, 1 9 .globl _main 10 .p2align 4, 0x90 11_main: ## @main 12 xorl %eax, %eax 13 retq 14 15 .section __TEXT,__const 16 .globl _a 17_a: 18 .quad 42 19 20 .section __DATA,__const 21 .globl _b 22 .p2align 3 23_b: 24 .quad 42 25 26.subsections_via_symbols 27