[MCJIT] Make the RuntimeDyldChecker stub_addr builtin use file names rather than
authorLang Hames <lhames@gmail.com>
Tue, 29 Jul 2014 20:40:37 +0000 (20:40 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 29 Jul 2014 20:40:37 +0000 (20:40 +0000)
commitfbfb01496b5f52d9bdb30f149c44bba84728048b
tree8108c4e329a9ab2dc0331111d89e0f3c6f6de08d
parent570be9365ff2bc7e889af40242ad647f33654968
[MCJIT] Make the RuntimeDyldChecker stub_addr builtin use file names rather than
full paths for its first argument.

This allows us to remove the annoying sed lines in the test cases, and write
direct references to file names in stub_addr calls (rather than <filename>
placeholders).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214211 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s