[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)
commit480763f814eef6e983eb1042f6c294a1501005a5
treed7498666f952e599478b0b49d3b68bd56cab68d8
parent24412b1420f61ad1163cbc53bae4f3eee4117b95
[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).

llvm-svn: 214211
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s
llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s