aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__algorithm/includes.h
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2021-06-16 10:24:51 -0700
committerLeonard Chan <leonardchan@google.com>2021-06-18 10:32:41 -0700
commit88d93923e6653f02f5ece1faf9f49a7e309989a0 (patch)
treef3580d2c2e3bb52a173aed88deb4b775cc1d02e2 /libcxx/include/__algorithm/includes.h
parent79caf69cc08a72022f968020eab486b698fd4178 (diff)
downloadllvm-88d93923e6653f02f5ece1faf9f49a7e309989a0.zip
llvm-88d93923e6653f02f5ece1faf9f49a7e309989a0.tar.gz
llvm-88d93923e6653f02f5ece1faf9f49a7e309989a0.tar.bz2
[compiler-rt][hwasan] Move Thread::Init into hwasan_linux.cpp
This allows for other implementations to define their own version of `Thread::Init`. This will be the case for Fuchsia where much of the thread initialization can be broken up between different thread hooks (`__sanitizer_before_thread_create_hook`, `__sanitizer_thread_create_hook`, `__sanitizer_thread_start_hook`). Namely, setting up the heap ring buffer and stack info and can be setup before thread creation. The stack ring buffer can also be setup before thread creation, but storing it into `__hwasan_tls` can only be done on the thread start hook since it's only then we can access `__hwasan_tls` for that thread correctly. Differential Revision: https://reviews.llvm.org/D104248
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions