[compiler-rt] da0decf - [Profile] Add missing COMPILER_RT_VISIBILITY to __llvm_profile_disable_continuous_mode.
Zequan Wu via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 12:47:12 PST 2023
Author: Zequan Wu
Date: 2023-12-11T15:47:01-05:00
New Revision: da0decf002a6e8c5f14dcf61135c6c758facec2b
URL: https://github.com/llvm/llvm-project/commit/da0decf002a6e8c5f14dcf61135c6c758facec2b
DIFF: https://github.com/llvm/llvm-project/commit/da0decf002a6e8c5f14dcf61135c6c758facec2b.diff
LOG: [Profile] Add missing COMPILER_RT_VISIBILITY to __llvm_profile_disable_continuous_mode.
Added:
Modified:
compiler-rt/lib/profile/InstrProfilingBuffer.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/profile/InstrProfilingBuffer.c b/compiler-rt/lib/profile/InstrProfilingBuffer.c
index 5657bf5bacf225..af52804b2b532c 100644
--- a/compiler-rt/lib/profile/InstrProfilingBuffer.c
+++ b/compiler-rt/lib/profile/InstrProfilingBuffer.c
@@ -33,7 +33,7 @@ COMPILER_RT_VISIBILITY void __llvm_profile_enable_continuous_mode(void) {
ContinuouslySyncProfile = 1;
}
-void __llvm_profile_disable_continuous_mode(void) {
+COMPILER_RT_VISIBILITY void __llvm_profile_disable_continuous_mode(void) {
ContinuouslySyncProfile = 0;
}
More information about the llvm-commits
mailing list