aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-11-09 22:34:19 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-11-09 22:34:19 +0000
commit35294ef681cd8a790a015b5e430e62e04634bcba (patch)
treeb1aff9451e0bc2e2b0037bfb5ba6d9e582e56463 /unittests
parent8674f03b85cbf65f4e15902a68e089341b9f1743 (diff)
downloadexternal_llvm-35294ef681cd8a790a015b5e430e62e04634bcba.zip
external_llvm-35294ef681cd8a790a015b5e430e62e04634bcba.tar.gz
external_llvm-35294ef681cd8a790a015b5e430e62e04634bcba.tar.bz2
Remove dlsym stubs, with Nate Begeman's permission.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ExecutionEngine/JIT/JITTest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/unittests/ExecutionEngine/JIT/JITTest.cpp b/unittests/ExecutionEngine/JIT/JITTest.cpp
index e0568ad..19765d4 100644
--- a/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -68,8 +68,6 @@ public:
virtual void setPoisonMemory(bool poison) { Base->setPoisonMemory(poison); }
virtual void AllocateGOT() { Base->AllocateGOT(); }
virtual uint8_t *getGOTBase() const { return Base->getGOTBase(); }
- virtual void SetDlsymTable(void *ptr) { Base->SetDlsymTable(ptr); }
- virtual void *getDlsymTable() const { return Base->getDlsymTable(); }
struct StartFunctionBodyCall {
StartFunctionBodyCall(uint8_t *Result, const Function *F,
uintptr_t ActualSize, uintptr_t ActualSizeResult)
@@ -303,7 +301,6 @@ TEST_F(JITTest, FarCallToKnownFunction) {
ConstantInt::get(TypeBuilder<int, false>::get(Context), 7));
Builder.CreateRet(result);
- TheJIT->EnableDlsymStubs(false);
TheJIT->DisableLazyCompilation(true);
int (*TestFunctionPtr)() = reinterpret_cast<int(*)()>(
(intptr_t)TheJIT->getPointerToFunction(TestFunction));