mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Instantiate Registry<GCStrategy> in LLVMCore, to let it available on Win32 DLL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
09a46075ee
commit
5bccc06f8d
@ -188,6 +188,9 @@ public:
|
||||
/// register your GCMetadataPrinter subclass with the
|
||||
/// GCMetadataPrinterRegistery as well.
|
||||
typedef Registry<GCStrategy> GCRegistry;
|
||||
|
||||
/// GCStrategy is instantiated in GCStrategy.cpp.
|
||||
extern template class Registry<GCStrategy>;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
#include "llvm/IR/GCStrategy.h"
|
||||
|
||||
template class llvm::Registry<llvm::GCStrategy>;
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
GCStrategy::GCStrategy()
|
||||
|
Loading…
Reference in New Issue
Block a user