projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reenable optimized build
[oota-llvm.git]
/
lib
/
Support
/
Debug.cpp
diff --git
a/lib/Support/Debug.cpp
b/lib/Support/Debug.cpp
index 57ed27a5b9554cbdd0fa53fc0d19b79db2f0246c..f87cddfe4e84a54c93fdbd94c34a0ead3498fc10 100644
(file)
--- a/
lib/Support/Debug.cpp
+++ b/
lib/Support/Debug.cpp
@@
-49,5
+49,9
@@
namespace {
// with the -debug-only=X option.
//
bool isCurrentDebugType(const char *DebugType) {
+#ifndef NDEBUG
return CurrentDebugType.empty() || DebugType == CurrentDebugType;
+#else
+ return false;
+#endif
}