summaryrefslogtreecommitdiff
path: root/tests/malloc_test.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2018-09-19 16:29:12 -0700
committerEvgenii Stepanov <eugenis@google.com>2018-09-20 12:20:12 -0700
commit13e8dcbdc9f0b3d95cac1a234730061c9b1ae6f4 (patch)
tree0c17f125a779e03f9911ce092e16b0ada1aa2920 /tests/malloc_test.cpp
parenta02d631163860c795cac7a0428ad8abb9ed3b747 (diff)
[hwasan] Tweak process and thread initialization.
Make sure that TLS_SLOT_TSAN is always available and correctly set up in HWASan-instrumented functions by setting up the tls register and running hwasan initialization (__hwasan_init in the main thread and __hwasan_thread_enter in secondary) early enough. This is needed to accomodate a change in HWASan: https://reviews.llvm.org/D52249 Bug: 112438058 Test: boot with SANITIZE_TARGET=hwaddress, run bionic-tests Change-Id: Icd909a4ea0da6c6c1095522bcc28debef5f2c63d
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions