Make the virtual destructor out-of-line so we have a key function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2011-04-05 23:54:31 +00:00
parent 71d9e65ee7
commit 53c5e7b2e7
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class RTDyldMemoryManager {
void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
public:
RTDyldMemoryManager() {}
virtual ~RTDyldMemoryManager() {}
virtual ~RTDyldMemoryManager();
// Allocate ActualSize bytes, or more, for the named function. Return
// a pointer to the allocated memory and update Size to reflect how much

View File

@ -29,6 +29,9 @@
using namespace llvm;
using namespace llvm::object;
// Empty out-of-line virtual destructor as the key function.
RTDyldMemoryManager::~RTDyldMemoryManager() {}
namespace llvm {
class RuntimeDyldImpl {
unsigned CPUType;