From db8d62193760fb331e84fda48e29688540781375 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 20 Aug 2025 15:01:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=92=20[Debug]=20Add=20missing=20LLVM?= =?UTF-8?q?=5FABI=20annotations=20(llvm@6a99ad2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: swiftlang/swift#85241 --- llvm/include/llvm/Support/Debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h index 924d7b216438e..03479c76ba3fd 100644 --- a/llvm/include/llvm/Support/Debug.h +++ b/llvm/include/llvm/Support/Debug.h @@ -40,19 +40,19 @@ class raw_ostream; /// specified on the command line, or if none was specified on the command line /// with the -debug-only=X option. /// -bool isCurrentDebugType(const char *Type); +LLVM_ABI bool isCurrentDebugType(const char *Type); /// setCurrentDebugType - Set the current debug type, as if the -debug-only=X /// option were specified. Note that DebugFlag also needs to be set to true for /// debug output to be produced. /// -void setCurrentDebugType(const char *Type); +LLVM_ABI void setCurrentDebugType(const char *Type); /// setCurrentDebugTypes - Set the current debug type, as if the /// -debug-only=X,Y,Z 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); +LLVM_ABI void setCurrentDebugTypes(const char **Types, unsigned Count); /// DEBUG_WITH_TYPE macro - This macro should be used by passes to emit debug /// information. If the '-debug' option is specified on the commandline, and if