OSDN Git Service
(root)
/
android-x86
/
external-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
2e9fa53
..
4799915
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)"));