We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c03ae9 commit 509c244Copy full SHA for 509c244
include/glow/Support/Debug.h
@@ -18,7 +18,7 @@
18
19
namespace glow {
20
21
-#if !defined(NDEBUG) && !defined(DISABLE_DEBUG_GLOW)
+#if !defined(DISABLE_DEBUG_GLOW)
22
23
/// \returns true if \p type matches the activated debug type.
24
bool isGlowCurrentDebugType(const char *type);
lib/Support/Debug.cpp
@@ -41,7 +41,7 @@ namespace glow {
41
/// Exported boolean set by -debug-glow option.
42
bool DebugFlag = false;
43
44
45
bool isGlowCurrentDebugType(const char *type) {
46
return std::find(DebugGlowOnly.begin(), DebugGlowOnly.end(), type) !=
47
DebugGlowOnly.end();
0 commit comments