Go to file
Reid Kleckner e1e344ed05 [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initialization
Summary:
ASan needs to initialize before ucrtbase.dll so that it can intercept
all of its heap allocations. New versions of dbghelp.dll depend on
ucrtbase.dll, which means both of those DLLs will initialize before the
dynamic ASan runtime. By lazily loading dbghelp.dll with LoadLibrary, we
avoid the issue.

Eventually, I would like to remove our dbghelp.dll dependency in favor
of always using llvm-symbolizer.exe, but this seems like an acceptable
interim solution.

Fixes PR30903

Reviewers: etienneb

Subscribers: kubabrecka, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D26473

llvm-svn: 286848
2016-11-14 17:37:50 +00:00
clang [clang docs] Minor fix in ClangCheck.rst 2016-11-14 17:31:24 +00:00
clang-tools-extra [clang-move] Fix an incorrect range for the functions whose returned value is a macro 2016-11-14 14:46:48 +00:00
compiler-rt [asan/win] Delay load dbghelp.dll to delay ucrtbase.dll initialization 2016-11-14 17:37:50 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced". 2016-11-14 17:35:14 +00:00
libcxxabi __cxa_demangle: allow demangling invocation blocks 2016-11-14 03:07:47 +00:00
libunwind [CMake] Get libunwind building under LLVM/runtimes 2016-11-08 23:02:49 +00:00
lld Fix program header propagation. 2016-11-14 15:39:38 +00:00
lldb I am leaving Apple in a few weeks; switch over to my personal email address 2016-11-13 21:30:54 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Typo 2016-11-14 17:26:32 +00:00
openmp Added check for malloc return. 2016-11-10 09:08:03 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly [ScopBuilder] Drop unnecessary namespace identifiers [NFC] 2016-11-13 21:28:13 +00:00