diff options
author | Zequan Wu <zequanwu@google.com> | 2024-02-05 15:27:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 15:27:34 -0500 |
commit | dd22140e21f2ef51cf031354966a3d41c191c6e7 (patch) | |
tree | 10400a85d91e237029043c5ebc736e349795607a | |
parent | b99163fe8feeacba7797d5479bbcd5d8f327dd2d (diff) | |
download | llvm-dd22140e21f2ef51cf031354966a3d41c191c6e7.zip llvm-dd22140e21f2ef51cf031354966a3d41c191c6e7.tar.gz llvm-dd22140e21f2ef51cf031354966a3d41c191c6e7.tar.bz2 |
[Profile][Windows] Drop extern for __buildid. (#80700)
-rw-r--r-- | compiler-rt/lib/profile/InstrProfilingPlatformWindows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c b/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c index c976776..0751b28 100644 --- a/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c +++ b/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c @@ -77,7 +77,7 @@ ValueProfNode *EndVNode = &VNodesEnd; /* lld-link provides __buildid symbol which ponits to the 16 bytes build id when * using /build-id flag. https://lld.llvm.org/windows_support.html#lld-flags */ #define BUILD_ID_LEN 16 -COMPILER_RT_WEAK extern uint8_t __buildid[BUILD_ID_LEN]; +COMPILER_RT_WEAK uint8_t __buildid[BUILD_ID_LEN]; COMPILER_RT_VISIBILITY int __llvm_write_binary_ids(ProfDataWriter *Writer) { if (*__buildid) { if (Writer && |