mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
71d9e65ee7
commit
53c5e7b2e7
@ -33,7 +33,7 @@ class RTDyldMemoryManager {
|
|||||||
void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
|
void operator=(const RTDyldMemoryManager&); // DO NOT IMPLEMENT
|
||||||
public:
|
public:
|
||||||
RTDyldMemoryManager() {}
|
RTDyldMemoryManager() {}
|
||||||
virtual ~RTDyldMemoryManager() {}
|
virtual ~RTDyldMemoryManager();
|
||||||
|
|
||||||
// Allocate ActualSize bytes, or more, for the named function. Return
|
// Allocate ActualSize bytes, or more, for the named function. Return
|
||||||
// a pointer to the allocated memory and update Size to reflect how much
|
// a pointer to the allocated memory and update Size to reflect how much
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
using namespace llvm::object;
|
using namespace llvm::object;
|
||||||
|
|
||||||
|
// Empty out-of-line virtual destructor as the key function.
|
||||||
|
RTDyldMemoryManager::~RTDyldMemoryManager() {}
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class RuntimeDyldImpl {
|
class RuntimeDyldImpl {
|
||||||
unsigned CPUType;
|
unsigned CPUType;
|
||||||
|
Loading…
Reference in New Issue
Block a user