Skip to content

Commit b717355

Browse files
Revert "[Support] Remove redundant declaration setCurrentDebugTypes (NFC)"
This reverts commit 52232ab. This patch breaks builds when NDEBUG is defined.
1 parent abc8f2b commit b717355

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/Support/Debug.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ bool isCurrentDebugType(const char *DebugType) {
6161
return false;
6262
}
6363

64+
/// Set the current debug type, as if the -debug-only=X
65+
/// option were specified. Note that DebugFlag also needs to be set to true for
66+
/// debug output to be produced.
67+
///
68+
void setCurrentDebugTypes(const char **Types, unsigned Count);
69+
6470
void setCurrentDebugType(const char *Type) {
6571
setCurrentDebugTypes(&Type, 1);
6672
}

0 commit comments

Comments
 (0)