aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbutil.py
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-11-14 17:37:50 +0000
committerReid Kleckner <rnk@google.com>2016-11-14 17:37:50 +0000
commite1e344ed05bb83787ed90524154b7b04ddc49759 (patch)
tree7eed96551312dd925d2a4f67d8f5dd2d3f9182e2 /lldb/packages/Python/lldbsuite/test/lldbutil.py
parent4dc0ed83905af9b48c94b640757c260781d60fd0 (diff)
downloadllvm-e1e344ed05bb83787ed90524154b7b04ddc49759.zip
llvm-e1e344ed05bb83787ed90524154b7b04ddc49759.tar.gz
llvm-e1e344ed05bb83787ed90524154b7b04ddc49759.tar.bz2
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbutil.py')
0 files changed, 0 insertions, 0 deletions