diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-09-27 21:35:33 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-09-27 21:35:33 +0000 |
commit | 5b19f39ab3109f32ced2a4dc95f0624211b1231e (patch) | |
tree | ba43809d85d30063fb79de34b6b84641c27c30b3 /lib/sanitizer_common/sanitizer_win.cc | |
parent | b5a79d0a6cafbca510ef051589eecc91aaa0a2f4 (diff) |
Revert "Add support for custom loaders to symbolizer"
This broke the windows buildbots, revert for now.
This reverts commit 24050b5ddef42f6f3306aa94d4a1f42a7893a9a7.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_win.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_win.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc index f1a74d3f2..a144db28c 100644 --- a/lib/sanitizer_common/sanitizer_win.cc +++ b/lib/sanitizer_common/sanitizer_win.cc @@ -524,7 +524,7 @@ static uptr GetPreferredBase(const char *modname) { } void ListOfModules::init() { - clearOrInit(); + clear(); HANDLE cur_process = GetCurrentProcess(); // Query the list of modules. Start by assuming there are no more than 256 @@ -583,9 +583,7 @@ void ListOfModules::init() { modules_.push_back(cur_module); } UnmapOrDie(hmodules, modules_buffer_size); -} - -void ListOfModules::fallbackInit() { clear(); } +}; // We can't use atexit() directly at __asan_init time as the CRT is not fully // initialized at this point. Place the functions into a vector and use |