Skip to content

Commit 6a99ad2

Browse files
committed
[Debug] Add missing LLVM_ABI annotations
1 parent 23a5a7b commit 6a99ad2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/Support/Debug.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class raw_ostream;
4242
/// An optional level can be provided to control the verbosity of the output.
4343
/// If the provided level is not 0 and user specified a level below the provided
4444
/// level, return false.
45-
bool isCurrentDebugType(const char *Type, int Level = 0);
45+
LLVM_ABI bool isCurrentDebugType(const char *Type, int Level = 0);
4646

4747
/// setCurrentDebugType - Set the current debug type, as if the -debug-only=X
4848
/// option were specified. Note that DebugFlag also needs to be set to true for
@@ -52,13 +52,13 @@ bool isCurrentDebugType(const char *Type, int Level = 0);
5252
/// user specified a level at least as high as the provided level.
5353
/// 0 is a special level that acts as an opt-out for this specific debug type
5454
/// without affecting the other debug output.
55-
void setCurrentDebugType(const char *Type);
55+
LLVM_ABI void setCurrentDebugType(const char *Type);
5656

5757
/// setCurrentDebugTypes - Set the current debug type, as if the
5858
/// -debug-only=X,Y,Z option were specified. Note that DebugFlag
5959
/// also needs to be set to true for debug output to be produced.
6060
///
61-
void setCurrentDebugTypes(const char **Types, unsigned Count);
61+
LLVM_ABI void setCurrentDebugTypes(const char **Types, unsigned Count);
6262

6363
/// DEBUG_WITH_TYPE macro - This macro should be used by passes to emit debug
6464
/// information. If the '-debug' option is specified on the commandline, and if

0 commit comments

Comments
 (0)