Changeset View
Changeset View
Standalone View
Standalone View
test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
# RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %T/test_x86-64.o %s | # RUN: rm -rf %t && mkdir -p %t | ||||
# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -dummy-extern ds1=0xfffffffffffffffe -dummy-extern ds2=0xffffffffffffffff -verify -check=%s %/T/test_x86-64.o | # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %t/test_x86-64.o %s | ||||
# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -dummy-extern ds1=0xfffffffffffffffe -dummy-extern ds2=0xffffffffffffffff -verify -check=%s %t/test_x86-64.o | |||||
.section __TEXT,__text,regular,pure_instructions | .section __TEXT,__text,regular,pure_instructions | ||||
.globl foo | .globl foo | ||||
.align 4, 0x90 | .align 4, 0x90 | ||||
foo: | foo: | ||||
retq | retq | ||||
.globl main | .globl main | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |