diff options
author | Reid Kleckner <rnk@google.com> | 2016-07-21 18:31:01 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-07-21 18:31:01 +0000 |
commit | c8da6db25e5e82ea0ce79615cdffdc4966e2900f (patch) | |
tree | f5d7255dca64f5086b47867881efbab3be5b4406 /lib/sanitizer_common/sanitizer_allocator_size_class_map.h | |
parent | 4cfee0dff1facb8fa2827d25c5943bfef96d1a8f (diff) |
Fix clang-cl warning and crash in sanitizers
Make kStderrFd a macro to avoid dynamic initialization of the
report_file global. This actually causes a crash at runtime, because
ASan initializes before static initializers run.
Remove an unused variable in asan_win.cc.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_allocator_size_class_map.h')
0 files changed, 0 insertions, 0 deletions