diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-01-25 15:05:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-01-25 15:05:36 +0000 |
commit | 5bccc06f8d51e27ccfabfd2b4a779f1acd45c7c9 (patch) | |
tree | ee11cd4bfcccd5491c2896b44227adf13117ae1f /include | |
parent | 09a46075ee77e31548964c9246658d93c7ab4319 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/GCStrategy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/IR/GCStrategy.h b/include/llvm/IR/GCStrategy.h index 15acfe443cd..c9b0a848ab7 100644 --- a/include/llvm/IR/GCStrategy.h +++ b/include/llvm/IR/GCStrategy.h @@ -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 |