projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b30f98
)
Fixup for r263114. llvm::AnalysisBase<CallGraphAnalysis> should be declared as extern.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 10 Mar 2016 15:13:00 +0000
(15:13 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Thu, 10 Mar 2016 15:13:00 +0000
(15:13 +0000)
llvm-svn: 263119
llvm/include/llvm/Analysis/CallGraph.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Analysis/CallGraph.h
b/llvm/include/llvm/Analysis/CallGraph.h
index
7feccef
..
05939db
100644
(file)
--- a/
llvm/include/llvm/Analysis/CallGraph.h
+++ b/
llvm/include/llvm/Analysis/CallGraph.h
@@
-306,6
+306,9
@@
public:
CallGraph run(Module &M) { return CallGraph(M); }
};
+/// Instantiated in CallGraph.cpp
+extern template class llvm::AnalysisBase<CallGraphAnalysis>;
+
/// \brief Printer pass for the \c CallGraphAnalysis results.
class CallGraphPrinterPass : public PassBase<CallGraphPrinterPass> {
raw_ostream &OS;