[JIT] Add an out-of-line definition for the virtual destructor in
authorChandler Carruth <chandlerc@gmail.com>
Wed, 3 Sep 2014 20:39:10 +0000 (20:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 3 Sep 2014 20:39:10 +0000 (20:39 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217073 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/CMakeLists.txt
lib/ExecutionEngine/JITEventListener.cpp [new file with mode: 0644]

index 208495c88475ee1192bc8b6ee12d58a4457b08f6..fae5bb900b90f9890d7cadf900d363c4c02347b9 100644 (file)
@@ -3,6 +3,7 @@
 add_llvm_library(LLVMExecutionEngine
   ExecutionEngine.cpp
   ExecutionEngineBindings.cpp
+  JITEventListener.cpp
   RTDyldMemoryManager.cpp
   TargetSelect.cpp
   )
diff --git a/lib/ExecutionEngine/JITEventListener.cpp b/lib/ExecutionEngine/JITEventListener.cpp
new file mode 100644 (file)
index 0000000..2a6a007
--- /dev/null
@@ -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() {}