diff options
| author | David Blaikie <dblaikie@gmail.com> | 2011-12-20 02:50:00 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2011-12-20 02:50:00 +0000 |
| commit | a379b181733b7ce77c9f336fd99e208d7c2a6f21 (patch) | |
| tree | 3bc42509537bcbf114062994536709d63fe9bb92 /llvm/lib/ExecutionEngine/MCJIT | |
| parent | 68e081d606c7e80baa01400a738e118d7bb165b2 (diff) | |
| download | bcm5719-llvm-a379b181733b7ce77c9f336fd99e208d7c2a6f21.tar.gz bcm5719-llvm-a379b181733b7ce77c9f336fd99e208d7c2a6f21.zip | |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146960
Diffstat (limited to 'llvm/lib/ExecutionEngine/MCJIT')
| -rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp | 14 | ||||
| -rw-r--r-- | llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp new file mode 100644 index 00000000000..457fe5e3ef0 --- /dev/null +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp @@ -0,0 +1,14 @@ +//==-- MCJITMemoryManager.cpp - Definition for the Memory Manager -*-C++ -*-==// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "MCJITMemoryManager.h" + +using namespace llvm; + +void MCJITMemoryManager::anchor() { } diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h index 58f9100eeff..bc7080d2d30 100644 --- a/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h +++ b/llvm/lib/ExecutionEngine/MCJIT/MCJITMemoryManager.h @@ -21,6 +21,7 @@ namespace llvm { // and the RuntimeDyld interface that maps objects, by name, onto their // matching LLVM IR counterparts in the module(s) being compiled. class MCJITMemoryManager : public RTDyldMemoryManager { + virtual void anchor(); JITMemoryManager *JMM; // FIXME: Multiple modules. |

