diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2018-06-13 21:45:01 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2018-06-13 21:45:01 +0000 |
commit | 3fc66075c7ae396f52d2418d38307de45257fde1 (patch) | |
tree | c5953b92c9aa6f365d5e833f2e0414dee6fac8df /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
parent | a00c372cd3d1efda994c78d42febade990867ac0 (diff) | |
download | bcm5719-llvm-3fc66075c7ae396f52d2418d38307de45257fde1.tar.gz bcm5719-llvm-3fc66075c7ae396f52d2418d38307de45257fde1.zip |
[Sanitizers] Make sanitizer allocator linker-initialize compliant.
Summary:
These four SpinMutex ctors was the only code executed in the ctor for
the static __asan::Allocator instance (same for the other sanitizers
allocators), which is supposed to be fully linker-initialized.
Also, when the global ctor for this allocator instance is executed,
this instance might already be initialized by __asan_init called from
.preinit_array.
Issue: https://github.com/google/sanitizers/issues/194
Reviewers: morehouse, eugenis, cryptoad
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D48142
llvm-svn: 334660
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions