Rework to let RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s pass on win32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 23 Jul 2014 04:32:21 +0000 (04:32 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 23 Jul 2014 04:32:21 +0000 (04:32 +0000)
FIXME: "llvm-rtdyld -verify -check" is still sensitive to path separator.
Fix searching StubMap to be tolerant of both '/' and '\\' on Win32.

llvm-svn: 213723

llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s

index 29d8470..728d073 100644 (file)
@@ -1,9 +1,6 @@
 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -relocation-model=pic -filetype=obj -o %T/foo.o %s
 # RUN: sed "s,<filename>,%/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
-
-# FIXME: Fix searching StubMap with '/' and '\\' on Win32.
-# REQUIRES: shell
+# RUN: llvm-rtdyld -triple=x86_64-apple-macosx10.9 -verify -check=%T/foo.s %/T/foo.o
 
         .section       __TEXT,__text,regular,pure_instructions
        .globl  foo