From 10c5b14ec496424108a4b75bf43feecb87811430 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 3 Sep 2014 20:39:10 +0000 Subject: [PATCH] [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 --- lib/ExecutionEngine/CMakeLists.txt | 1 + lib/ExecutionEngine/JITEventListener.cpp | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 lib/ExecutionEngine/JITEventListener.cpp diff --git a/lib/ExecutionEngine/CMakeLists.txt b/lib/ExecutionEngine/CMakeLists.txt index 208495c8847..fae5bb900b9 100644 --- a/lib/ExecutionEngine/CMakeLists.txt +++ b/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/lib/ExecutionEngine/JITEventListener.cpp b/lib/ExecutionEngine/JITEventListener.cpp new file mode 100644 index 00000000000..2a6a0070d97 --- /dev/null +++ b/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() {}