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

llvm-svn: 128964
This commit is contained in:
Chandler Carruth 2011-04-05 23:54:31 +00:00
parent 858afbb6ac
commit 086f7080d6
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;