Attempt to fix build bot after r290597

llvm-svn: 290602
This commit is contained in:
Eugene Leviant 2016-12-27 10:24:58 +00:00
parent 81c8edaf5c
commit 687d4024b5

View File

@ -32,6 +32,7 @@
#undef isCurrentDebugType
#undef setCurrentDebugType
#undef setCurrentDebugTypes
using namespace llvm;
@ -62,6 +63,8 @@ bool isCurrentDebugType(const char *DebugType) {
/// option were specified. Note that DebugFlag also needs to be set to true for
/// debug output to be produced.
///
void setCurrentDebugTypes(const char **Types, unsigned Count);
void setCurrentDebugType(const char *Type) {
setCurrentDebugTypes(&Type, 1);
}