diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-29 14:11:29 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-29 14:11:29 +0000 |
| commit | 70e37278cb3b9fa934ad01d0a6e70993ee1c0988 (patch) | |
| tree | 146545cc0ae3660ef16fb42639772ff4c15f4fa6 /llvm/lib/ExecutionEngine/JIT/JIT.cpp | |
| parent | 9ec2761bb76d6c305821cc623ab5fb680ea4ddd6 (diff) | |
| download | bcm5719-llvm-70e37278cb3b9fa934ad01d0a6e70993ee1c0988.tar.gz bcm5719-llvm-70e37278cb3b9fa934ad01d0a6e70993ee1c0988.zip | |
Use System/DynamicLibrary instead of Support/DynamicLinker
llvm-svn: 18357
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 56625d691d8..537ca56e024 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp @@ -22,9 +22,9 @@ #include "llvm/CodeGen/MachineCodeEmitter.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/ExecutionEngine/GenericValue.h" +#include "llvm/System/DynamicLibrary.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetJITInfo.h" -#include "llvm/Support/DynamicLinker.h" #include <iostream> using namespace llvm; @@ -287,7 +287,7 @@ void *JIT::getOrEmitGlobalVariable(const GlobalVariable *GV) { // If the global is external, just remember the address. if (GV->isExternal()) { - Ptr = GetAddressOfSymbol(GV->getName().c_str()); + Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(GV->getName().c_str()); if (Ptr == 0) { std::cerr << "Could not resolve external global address: " << GV->getName() << "\n"; |

