Skip to content

Commit c91ff4f

Browse files
committed
[profile] Make __llvm_profile_global_timestamp static to unbreak Darwin
See comments on https://reviews.llvm.org/D147287
1 parent 2f2c76d commit c91ff4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/profile/InstrProfiling.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#define INSTR_PROF_VALUE_PROF_DATA
2121
#include "profile/InstrProfData.inc"
2222

23-
uint32_t __llvm_profile_global_timestamp = 1;
23+
static uint32_t __llvm_profile_global_timestamp = 1;
2424

2525
COMPILER_RT_VISIBILITY
2626
void INSTR_PROF_PROFILE_SET_TIMESTAMP(uint64_t *Probe) {

0 commit comments

Comments
 (0)