summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-05 23:54:31 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-05 23:54:31 +0000
commit53c5e7b2e7e36d70bd943cb2d576121435bd5b3f (patch)
treee56bcb862cb002b88cdbda6a01660693627da5ae /lib
parent71d9e65ee71712b965c79739e63de94fbb8078ad (diff)
downloadllvm-53c5e7b2e7e36d70bd943cb2d576121435bd5b3f.tar.gz
llvm-53c5e7b2e7e36d70bd943cb2d576121435bd5b3f.tar.bz2
llvm-53c5e7b2e7e36d70bd943cb2d576121435bd5b3f.tar.xz
Make the virtual destructor out-of-line so we have a key function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
index 536013a279..7e6a1f04f0 100644
--- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
+++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
@@ -29,6 +29,9 @@
using namespace llvm;
using namespace llvm::object;
+// Empty out-of-line virtual destructor as the key function.
+RTDyldMemoryManager::~RTDyldMemoryManager() {}
+
namespace llvm {
class RuntimeDyldImpl {
unsigned CPUType;