mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
This needs the callgraph data structure to stick around as long as the
printer does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f12ee4250d
commit
8257bee70b
@ -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…
Reference in New Issue
Block a user