[llvm-commits] CVS: llvm/tools/opt/AnalysisWrappers.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 5 11:43:57 PST 2006
Changes in directory llvm/tools/opt:
AnalysisWrappers.cpp updated: 1.19 -> 1.20
---
Log message:
This needs the callgraph data structure to stick around as long as the
printer does.
---
Diffs of the changes: (+1 -1)
AnalysisWrappers.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/opt/AnalysisWrappers.cpp
diff -u llvm/tools/opt/AnalysisWrappers.cpp:1.19 llvm/tools/opt/AnalysisWrappers.cpp:1.20
--- llvm/tools/opt/AnalysisWrappers.cpp:1.19 Sun Aug 27 17:30:17 2006
+++ llvm/tools/opt/AnalysisWrappers.cpp Tue Dec 5 13:43:42 2006
@@ -67,7 +67,7 @@
struct CallGraphPrinter : public ModulePass {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
- AU.addRequired<CallGraph>();
+ AU.addRequiredTransitive<CallGraph>();
}
virtual bool runOnModule(Module &M) { return false; }
More information about the llvm-commits
mailing list