From faf993b377cb1212143ea0659c178f0408582351 Mon Sep 17 00:00:00 2001 From: Francis Ricci Date: Fri, 29 Sep 2017 20:04:29 +0000 Subject: Revert "Move LoadedModule list to a NoCtor vector and initialize on demand." I think this may have introduced a failure on llvm-clang-lld-x86_64-debian-fast This reverts commit r314533 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@314552 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/sanitizer_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sanitizer_common/sanitizer_win.cc') diff --git a/lib/sanitizer_common/sanitizer_win.cc b/lib/sanitizer_common/sanitizer_win.cc index 84065aa0e..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 -- cgit v1.2.3