[llvm] r217073 - [JIT] Add an out-of-line definition for the virtual destructor in
Chandler Carruth
chandlerc at gmail.com
Wed Sep 3 13:39:10 PDT 2014
Author: chandlerc
Date: Wed Sep 3 15:39:10 2014
New Revision: 217073
URL: http://llvm.org/viewvc/llvm-project?rev=217073&view=rev
Log:
[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.
Added:
llvm/trunk/lib/ExecutionEngine/JITEventListener.cpp
Modified:
llvm/trunk/lib/ExecutionEngine/CMakeLists.txt
Modified: llvm/trunk/lib/ExecutionEngine/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/CMakeLists.txt?rev=217073&r1=217072&r2=217073&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/CMakeLists.txt (original)
+++ llvm/trunk/lib/ExecutionEngine/CMakeLists.txt Wed Sep 3 15:39:10 2014
@@ -3,6 +3,7 @@
add_llvm_library(LLVMExecutionEngine
ExecutionEngine.cpp
ExecutionEngineBindings.cpp
+ JITEventListener.cpp
RTDyldMemoryManager.cpp
TargetSelect.cpp
)
Added: llvm/trunk/lib/ExecutionEngine/JITEventListener.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JITEventListener.cpp?rev=217073&view=auto
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JITEventListener.cpp (added)
+++ llvm/trunk/lib/ExecutionEngine/JITEventListener.cpp Wed Sep 3 15:39:10 2014
@@ -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() {}
More information about the llvm-commits
mailing list