Skip to content

Commit 37be0be

Browse files
nikicSteelskin
authored andcommitted
🍒 [Debug] Add missing LLVM_ABI annotations (llvm/llvm-project@6a99ad2)
Bug: swiftlang/swift#85241
1 parent e01cc9a commit 37be0be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/include/llvm/Support/Debug.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,18 @@ class raw_ostream;
4040
/// specified on the command line, or if none was specified on the command line
4141
/// with the -debug-only=X option.
4242
///
43-
bool isCurrentDebugType(const char *Type);
43+
LLVM_ABI bool isCurrentDebugType(const char *Type);
4444

4545
/// setCurrentDebugType - Set the current debug type, as if the -debug-only=X
4646
/// option were specified. Note that DebugFlag also needs to be set to true for
4747
/// debug output to be produced.
48-
///
49-
void setCurrentDebugType(const char *Type);
48+
LLVM_ABI void setCurrentDebugType(const char *Type);
5049

5150
/// setCurrentDebugTypes - Set the current debug type, as if the
5251
/// -debug-only=X,Y,Z option were specified. Note that DebugFlag
5352
/// also needs to be set to true for debug output to be produced.
5453
///
55-
void setCurrentDebugTypes(const char **Types, unsigned Count);
54+
LLVM_ABI void setCurrentDebugTypes(const char **Types, unsigned Count);
5655

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

0 commit comments

Comments
 (0)