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:
0d56b06
)
Always verify dominfo if expensive checking is enabled.
author
Duncan Sands
<baldrick@free.fr>
Fri, 22 May 2009 08:52:53 +0000
(08:52 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Fri, 22 May 2009 08:52:53 +0000
(08:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72253
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PassManager.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/PassManager.cpp
b/lib/VMCore/PassManager.cpp
index 2e9fa53d0affc64a93dc1a3e4175acc449d5ad55..47999152c1d2336566a4336faa6e2c233c28b527 100644
(file)
--- a/
lib/VMCore/PassManager.cpp
+++ b/
lib/VMCore/PassManager.cpp
@@
-43,7
+43,12
@@
enum PassDebugLevel {
None, Arguments, Structure, Executions, Details
};
+// Always verify dominfo if expensive checking is enabled.
+#ifdef XDEBUG
+bool VerifyDomInfo = true;
+#else
bool VerifyDomInfo = false;
+#endif
static cl::opt<bool,true>
VerifyDomInfoX("verify-dom-info", cl::location(VerifyDomInfo),
cl::desc("Verify dominator info (time consuming)"));