diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-06-14 18:22:23 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-06-14 18:22:23 +0000 |
commit | 241b75869011979b6b3aa36692e6871e24040cc7 (patch) | |
tree | fc141e3aef985cb2c4cdf7825f0c60b361122884 /lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py | |
parent | f56ef90e26bd1bb5cfa8e4b0e09ec56a9142dbfb (diff) | |
download | bcm5719-llvm-241b75869011979b6b3aa36692e6871e24040cc7.tar.gz bcm5719-llvm-241b75869011979b6b3aa36692e6871e24040cc7.zip |
[ASan] Linker-initialize static ScopedInErrorReport::current_error_.
Summary:
Static ScopedInErrorReport::current_error_ can be linker initialized to
shave one global ctor call on application startup and be __asan_init-safe.
Global constructors in ASan runtime are bad because __asan_init runs
from preinit_array, before any such constructors.
Issue: https://github.com/google/sanitizers/issues/194
Reviewers: eugenis, morehouse
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D48141
llvm-svn: 334748
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py')
0 files changed, 0 insertions, 0 deletions