1. [hwasan] Remove lazy thread-initialisation (details)
Commit 91167e22eca535025f093335acece573bf19c525 by david.spickett
[hwasan] Remove lazy thread-initialisation
This was an experiment made possible by a non-standard feature of the
Android dynamic loader.
It required introducing a flag to tell the compiler which ABI was being
targeted. This flag is no longer needed, since the generated code now
works for both ABI's.
We leave that flag untouched for backwards compatibility. This also
means that if we need to distinguish between targeted ABI's again we can
do that without disturbing any existing workflows.
We leave a comment in the source code and mention in the help text to
explain this for any confused person reading the code in the future.
Patch by Matthew Malcomson
Differential Revision:
The file was removedllvm/test/Instrumentation/HWAddressSanitizer/lazy-thread-init.ll
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_linux.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedclang/include/clang/Driver/