diff options
| author | Reid Kleckner <rnk@google.com> | 2015-08-13 16:40:54 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2015-08-13 16:40:54 +0000 |
| commit | e4fabc9a87a60c9378f0df3d852abf06b3a89b10 (patch) | |
| tree | c2204526186f9732025d56af6743dec0530ddcad | |
| parent | dd7b4406d17ecafd03c57838f4a7699cc92a1cf9 (diff) | |
| download | bcm5719-llvm-e4fabc9a87a60c9378f0df3d852abf06b3a89b10.tar.gz bcm5719-llvm-e4fabc9a87a60c9378f0df3d852abf06b3a89b10.zip | |
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
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc index b86ab6eca8d..149623ad5ab 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc @@ -454,7 +454,7 @@ static int RunAtexit() { } #pragma section(".CRT$XID", long, read) // NOLINT -static __declspec(allocate(".CRT$XID")) int (*__run_atexit)() = RunAtexit; +__declspec(allocate(".CRT$XID")) int (*__run_atexit)() = RunAtexit; #endif // ------------------ sanitizer_libc.h |

