21 lines · plain
1# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t.o %s2# RUN: llvm-jitlink -noexec -alias x=y %t.o3#4# Check that the -alias option works.5 6 .section __TEXT,__text,regular,pure_instructions7 .globl _main8 .p2align 4, 0x909_main:10 movq x@GOTPCREL(%rip), %rax11 movl (%rax), %eax12 retq13 14 .section __DATA,__data15 .globl y16 .p2align 217y:18 .long 4219 20.subsections_via_symbols21