summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2021-06-11 10:32:04 -0700
committerLeonard Chan <leonardchan@google.com>2021-07-07 15:05:28 -0700
commit966386514bec9366ca85d1599f4c866eee9f1927 (patch)
treebbd9b9be74e339660541f4c0437da5f46c6d25e1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb81aa458afd023323dcd4400164f6a43d981d7de (diff)
[compiler-rt][hwasan] Setup hwasan thread handling on Fuchsia
This patch splits up hwasan thread creation between `__sanitizer_before_thread_create_hook`, `__sanitizer_thread_create_hook`, and `__sanitizer_thread_start_hook`. The linux implementation creates the hwasan thread object inside the new thread. On Fuchsia, we know the stack bounds before thread creation, so we can initialize part of the thread object in `__sanitizer_before_thread_create_hook`, then initialize the stack ring buffer in `__sanitizer_thread_start_hook` once we enter the thread. Differential Revision: https://reviews.llvm.org/D104085
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions