[llvm] 6a99ad2 - [Debug] Add missing LLVM_ABI annotations
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 06:21:56 PDT 2025
Author: Nikita Popov
Date: 2025-08-20T15:19:08+02:00
New Revision: 6a99ad2975247bad08a4098bf3ee0a158cbe42f7
URL: https://github.com/llvm/llvm-project/commit/6a99ad2975247bad08a4098bf3ee0a158cbe42f7
DIFF: https://github.com/llvm/llvm-project/commit/6a99ad2975247bad08a4098bf3ee0a158cbe42f7.diff
LOG: [Debug] Add missing LLVM_ABI annotations
Added:
Modified:
llvm/include/llvm/Support/Debug.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h
index 55420891fe7d5..a232b2ceecd3a 100644
--- a/llvm/include/llvm/Support/Debug.h
+++ b/llvm/include/llvm/Support/Debug.h
@@ -42,7 +42,7 @@ class raw_ostream;
/// An optional level can be provided to control the verbosity of the output.
/// If the provided level is not 0 and user specified a level below the provided
/// level, return false.
-bool isCurrentDebugType(const char *Type, int Level = 0);
+LLVM_ABI bool isCurrentDebugType(const char *Type, int Level = 0);
/// 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
@@ -52,13 +52,13 @@ bool isCurrentDebugType(const char *Type, int Level = 0);
/// user specified a level at least as high as the provided level.
/// 0 is a special level that acts as an opt-out for this specific debug type
/// without affecting the other debug output.
-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
More information about the llvm-commits
mailing list