HomePhabricator

[hwasan] Remove lazy thread-initialisation

Authored by DavidSpickett on Nov 4 2019, 2:58 AM.

Description

[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: https://reviews.llvm.org/D69574

Details

Committed
DavidSpickettNov 4 2019, 2:58 AM
Differential Revision
D69574: Remove lazy thread-initialisation
Parents
rGbc728d584242: [lldb][NFC] Remove Ocaml from TypeSystem::LLVMCastKind
Branches
Unknown
Tags
Unknown