aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-06-13 20:47:21 +0000
committerReid Kleckner <rnk@google.com>2018-06-13 20:47:21 +0000
commit12395b7795f7bf576f047bdf2fdd02141b72f0f9 (patch)
treea0cbc557650535c30c949ff73f17158448e81e1d /lldb/source/Commands/CommandObjectProcess.cpp
parent436e5cc0f16b3f8542e0269a635ced9a4a058741 (diff)
downloadllvm-12395b7795f7bf576f047bdf2fdd02141b72f0f9.zip
llvm-12395b7795f7bf576f047bdf2fdd02141b72f0f9.tar.gz
llvm-12395b7795f7bf576f047bdf2fdd02141b72f0f9.tar.bz2
[WinASan] Don't instrument globals in sections containing '$'
Such globals are very likely to be part of a sorted section array, such the .CRT sections used for dynamic initialization. The uses its own sorted sections called ATL$__a, ATL$__m, and ATL$__z. Instead of special casing them, just look for the dollar sign, which is what invokes linker section sorting for COFF. Avoids issues with ASan and the ATL uncovered after we started instrumenting comdat globals on COFF. llvm-svn: 334653
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions