diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-09-28 19:37:17 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-09-28 19:37:17 +0000 |
commit | c76c49014f5b65f316833358d89d6c8c8325a900 (patch) | |
tree | af3ee202e9fb95c0aeaa24192881a0f97afe0e35 /lib/sanitizer_common/sanitizer_win.cc | |
parent | 35bf445122908c454897722b57a81ba320ed915e (diff) |
Revert "Add support for custom loaders to the sanitizer symbolizer"
This causes the gcc sanitizer buildbot to timeout.
This reverts commit 81f388fe570e5b6460dd5bc9b9a36b72714eeb68.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314453 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 |