mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +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