The flag "--dot-cfg-only" is at the moment equivalent to the flag "--dot-cfg".

It prints the content of all bbs, instead of printing empty bbs to make the
CFG more readable.  Fix this.  Patch by Tobias Grosser.

llvm-svn: 82315
This commit is contained in:
Duncan Sands 2009-09-19 11:25:44 +00:00
parent b82b5514fe
commit 1636b7ef47
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ namespace {
CFGOnlyViewer() : FunctionPass(&ID) {}
virtual bool runOnFunction(Function &F) {
F.viewCFG();
F.viewCFGOnly();
return false;
}