Skip to content

Commit d5af513

Browse files
ZequanWutstellar
authored andcommitted
[Profile][Windows] Drop extern for __buildid. (llvm#80700)
(cherry picked from commit dd22140)
1 parent 1242e01 commit d5af513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/profile/InstrProfilingPlatformWindows.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ValueProfNode *EndVNode = &VNodesEnd;
7777
/* lld-link provides __buildid symbol which ponits to the 16 bytes build id when
7878
* using /build-id flag. https://lld.llvm.org/windows_support.html#lld-flags */
7979
#define BUILD_ID_LEN 16
80-
COMPILER_RT_WEAK extern uint8_t __buildid[BUILD_ID_LEN];
80+
COMPILER_RT_WEAK uint8_t __buildid[BUILD_ID_LEN];
8181
COMPILER_RT_VISIBILITY int __llvm_write_binary_ids(ProfDataWriter *Writer) {
8282
if (*__buildid) {
8383
if (Writer &&

0 commit comments

Comments
 (0)