Skip to content

Commit e4fabc9

Browse files
committed
Same fix as r244908 for sanitizer_win.cc instead of asan_win.cc
I forgot to audit lib/sanitizer_common for the same issue. This fixes writing out coverage files on exit. llvm-svn: 244910
1 parent dd7b440 commit e4fabc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_win.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ static int RunAtexit() {
454454
}
455455

456456
#pragma section(".CRT$XID", long, read) // NOLINT
457-
static __declspec(allocate(".CRT$XID")) int (*__run_atexit)() = RunAtexit;
457+
__declspec(allocate(".CRT$XID")) int (*__run_atexit)() = RunAtexit;
458458
#endif
459459

460460
// ------------------ sanitizer_libc.h

0 commit comments

Comments
 (0)