mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Print out the steens graph if -debug is specified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
93d7a212cc
commit
47a307aef0
@ -11,6 +11,7 @@
|
||||
#include "llvm/Analysis/DSGraph.h"
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "Support/Statistic.h"
|
||||
|
||||
namespace {
|
||||
class Steens : public Pass, public AliasAnalysis {
|
||||
@ -192,7 +193,7 @@ bool Steens::run(Module &M) {
|
||||
// FIXME: We should be able to disable the globals graph for steens!
|
||||
ResultGraph->removeDeadNodes(DSGraph::KeepUnreachableGlobals);
|
||||
|
||||
//print(std::cerr, &M);
|
||||
DEBUG(print(std::cerr, &M));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user