forked from OSchip/llvm-project
Make the virtual destructor out-of-line so we have a key function.
llvm-svn: 128964
This commit is contained in:
parent
858afbb6ac
commit
086f7080d6
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue