X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FExecutionEngine%2FRuntimeDyld%2FX86%2FMachO_x86-64_PIC_relocations.s;h=cbaadacbce52d95758164ee5d1a31b9e37430263;hp=728d07396732d0fb786bb47759acbdaf27efb3f1;hb=fbfb01496b5f52d9bdb30f149c44bba84728048b;hpb=570be9365ff2bc7e889af40242ad647f33654968 diff --git a/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s b/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s index 728d0739673..cbaadacbce5 100644 --- a/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s +++ b/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s @@ -1,6 +1,5 @@ # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %T/foo.o %s -# RUN: sed "s,,%/T/foo.o,g" %s > %T/foo.s -# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%T/foo.s %/T/foo.o +# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%s %/T/foo.o .section __TEXT,__text,regular,pure_instructions .globl foo @@ -24,8 +23,8 @@ insn2: # Test PC-rel GOT relocation. # Verify both the contents of the GOT entry for y, and that the movq instruction # references the correct GOT entry address: -# rtdyld-check: *{8}(stub_addr(, __text, y)) = y -# rtdyld-check: decode_operand(insn3, 4) = stub_addr(, __text, y) - next_pc(insn3) +# rtdyld-check: *{8}(stub_addr(foo.o, __text, y)) = y +# rtdyld-check: decode_operand(insn3, 4) = stub_addr(foo.o, __text, y) - next_pc(insn3) insn3: movq y@GOTPCREL(%rip), %rax