diff options
author | William Huynh <William.Huynh@arm.com> | 2025-08-06 15:04:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 15:04:26 +0100 |
commit | 0b1639581a14e6e99ffff1a155504e4e866df491 (patch) | |
tree | 95d06e0eb5fed46abf1e6ad021cd60f61aeb3f7f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | c4f6d346749cd368ab60fa06d925b15934d0e38a (diff) | |
download | llvm-0b1639581a14e6e99ffff1a155504e4e866df491.zip llvm-0b1639581a14e6e99ffff1a155504e4e866df491.tar.gz llvm-0b1639581a14e6e99ffff1a155504e4e866df491.tar.bz2 |
[libc] Change LIBC_THREAD_LOCAL to be dependent on LIBC_THREAD_MODE (#151527)
When single-threaded mode is selected, all instances of the keyword
`LIBC_THREAD_LOCAL` are stubbed out, similar to how it currently works
on the GPU. This allows baremetal builds to avoid using thread_local.
However, libcxx uses shared headers, so we need to be careful there.
Thankfully, there is already an option to disable multithreading in
libcxx, so a flag is added such that single-threaded mode is propagated
down to libc.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions