summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-03 20:39:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-03 20:39:10 +0000
commit534643c818f8807e6bfb3c83ba5b69b216b05d98 (patch)
treeeae1f0f646806d79c4cff9632f61ed5d095eb191
parentc1e8ebc2594933b4ae33c4064def257d6739c1b0 (diff)
downloadbcm5719-llvm-534643c818f8807e6bfb3c83ba5b69b216b05d98.tar.gz
bcm5719-llvm-534643c818f8807e6bfb3c83ba5b69b216b05d98.zip
[JIT] Add an out-of-line definition for the virtual destructor in
JITEventListener. This used to be in the old JIT (last line of the file) and everyone just "happened" to pick it up from there. =/ Doh. llvm-svn: 217073
-rw-r--r--llvm/lib/ExecutionEngine/CMakeLists.txt1
-rw-r--r--llvm/lib/ExecutionEngine/JITEventListener.cpp15
2 files changed, 16 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/CMakeLists.txt b/llvm/lib/ExecutionEngine/CMakeLists.txt
index 208495c8847..fae5bb900b9 100644
--- a/llvm/lib/ExecutionEngine/CMakeLists.txt
+++ b/llvm/lib/ExecutionEngine/CMakeLists.txt
@@ -3,6 +3,7 @@
add_llvm_library(LLVMExecutionEngine
ExecutionEngine.cpp
ExecutionEngineBindings.cpp
+ JITEventListener.cpp
RTDyldMemoryManager.cpp
TargetSelect.cpp
)
diff --git a/llvm/lib/ExecutionEngine/JITEventListener.cpp b/llvm/lib/ExecutionEngine/JITEventListener.cpp
new file mode 100644
index 00000000000..2a6a0070d97
--- /dev/null
+++ b/llvm/lib/ExecutionEngine/JITEventListener.cpp
@@ -0,0 +1,15 @@
+//===-- JITEventListener.cpp ----------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ExecutionEngine/JITEventListener.h"
+
+using namespace llvm;
+
+// Out-of-line definition of the virtual destructor as this is the key function.
+JITEventListener::~JITEventListener() {}
OpenPOWER on IntegriCloud