projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431f775
)
The flag "--dot-cfg-only" is at the moment equivalent to the flag "--dot-cfg".
author
Duncan Sands
<baldrick@free.fr>
Sat, 19 Sep 2009 11:25:44 +0000
(11:25 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Sat, 19 Sep 2009 11:25:44 +0000
(11:25 +0000)
It prints the content of all bbs, instead of printing empty bbs to make the
CFG more readable. Fix this. Patch by Tobias Grosser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82315
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/CFGPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/CFGPrinter.cpp
b/lib/Analysis/CFGPrinter.cpp
index 03cfb9d51d859b7040c96a211d5ff3efec73dc8b..6fed4005d19350ab8c942257a838258f74f9627c 100644
(file)
--- a/
lib/Analysis/CFGPrinter.cpp
+++ b/
lib/Analysis/CFGPrinter.cpp
@@
-110,7
+110,7
@@
namespace {
CFGOnlyViewer() : FunctionPass(&ID) {}
virtual bool runOnFunction(Function &F) {
- F.viewCFG();
+ F.viewCFG
Only
();
return false;
}