[llvm-commits] CVS: llvm/lib/Support/Debug.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 12 15:48:02 PDT 2003
Changes in directory llvm/lib/Support:
Debug.cpp updated: 1.1 -> 1.2
---
Log message:
Reenable optimized build
---
Diffs of the changes:
Index: llvm/lib/Support/Debug.cpp
diff -u llvm/lib/Support/Debug.cpp:1.1 llvm/lib/Support/Debug.cpp:1.2
--- llvm/lib/Support/Debug.cpp:1.1 Fri Aug 1 17:15:41 2003
+++ llvm/lib/Support/Debug.cpp Tue Aug 12 15:46:50 2003
@@ -49,5 +49,9 @@
// with the -debug-only=X option.
//
bool isCurrentDebugType(const char *DebugType) {
+#ifndef NDEBUG
return CurrentDebugType.empty() || DebugType == CurrentDebugType;
+#else
+ return false;
+#endif
}
More information about the llvm-commits
mailing list