summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-02-27 10:45:35 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-02-27 10:45:35 +0000
commitafcec4c55a5da0e91bca606ccc4e85be8e520f99 (patch)
treee5cf9e8473665d3d6fd8b89124bee9b604c6be76 /llvm/lib/IR/PassManager.cpp
parent2a54094d40349e283f8398bc453d7c976af63892 (diff)
downloadbcm5719-llvm-afcec4c55a5da0e91bca606ccc4e85be8e520f99.tar.gz
bcm5719-llvm-afcec4c55a5da0e91bca606ccc4e85be8e520f99.zip
[PM] Provide explicit instantiation declarations and definitions for the
PassManager and AnalysisManager template specializations as well. llvm-svn: 262128
Diffstat (limited to 'llvm/lib/IR/PassManager.cpp')
-rw-r--r--llvm/lib/IR/PassManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/IR/PassManager.cpp b/llvm/lib/IR/PassManager.cpp
index 18e7a73f03e..9d5b4cb0516 100644
--- a/llvm/lib/IR/PassManager.cpp
+++ b/llvm/lib/IR/PassManager.cpp
@@ -15,6 +15,10 @@ using namespace llvm;
// Explicit template instantiations for core template typedefs.
namespace llvm {
+template class PassManager<Module>;
+template class PassManager<Function>;
+template class AnalysisManager<Module>;
+template class AnalysisManager<Function>;
template class InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>;
template class OuterAnalysisManagerProxy<ModuleAnalysisManager, Function>;
}
OpenPOWER on IntegriCloud