mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
This needs the callgraph data structure to stick around as long as the
printer does. llvm-svn: 32236
This commit is contained in:
parent
4cd933d737
commit
bd4c022c56
@ -67,7 +67,7 @@ namespace {
|
||||
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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user