[compiler-rt] c91ff4f - [profile] Make __llvm_profile_global_timestamp static to unbreak Darwin
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 06:32:22 PDT 2023
Author: Hans Wennborg
Date: 2023-04-12T15:31:19+02:00
New Revision: c91ff4f4a3d5be7ea6b6b3abae23f659508495b2
URL: https://github.com/llvm/llvm-project/commit/c91ff4f4a3d5be7ea6b6b3abae23f659508495b2
DIFF: https://github.com/llvm/llvm-project/commit/c91ff4f4a3d5be7ea6b6b3abae23f659508495b2.diff
LOG: [profile] Make __llvm_profile_global_timestamp static to unbreak Darwin
See comments on https://reviews.llvm.org/D147287
Added:
Modified:
compiler-rt/lib/profile/InstrProfiling.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/profile/InstrProfiling.c b/compiler-rt/lib/profile/InstrProfiling.c
index 4f8bedff18b6f..0dd5ff5ae6331 100644
--- a/compiler-rt/lib/profile/InstrProfiling.c
+++ b/compiler-rt/lib/profile/InstrProfiling.c
@@ -20,7 +20,7 @@
#define INSTR_PROF_VALUE_PROF_DATA
#include "profile/InstrProfData.inc"
-uint32_t __llvm_profile_global_timestamp = 1;
+static uint32_t __llvm_profile_global_timestamp = 1;
COMPILER_RT_VISIBILITY
void INSTR_PROF_PROFILE_SET_TIMESTAMP(uint64_t *Probe) {
More information about the llvm-commits
mailing list