We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc8f2b commit b717355Copy full SHA for b717355
llvm/lib/Support/Debug.cpp
@@ -61,6 +61,12 @@ bool isCurrentDebugType(const char *DebugType) {
61
return false;
62
}
63
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
+
70
void setCurrentDebugType(const char *Type) {
71
setCurrentDebugTypes(&Type, 1);
72
0 commit comments