diff options
| author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-12-22 11:42:07 +0000 |
|---|---|---|
| committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-12-22 11:56:20 +0000 |
| commit | 0f81598cc1f46b9919b3500d7c4743dd7a5eac1a (patch) | |
| tree | 4c9988e9931f13f0e5cc47c80c6093ffc42f77e1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 00065d5cbd02b0f3fccb34881b58bcd0852b3970 (diff) | |
[libc++] Add a 'is-lockfree-runtime-function' lit feature
On macOS 10.14 /usr/lib/system/libcompiler_rt.dylib contains all the
`__atomic_load*`, etc. functions but does not include the `__atomic_is_lock_free`
function. The lack of this function causes the non-lockfree-atomics feature
to be set to false even though large atomic operations are actually
supported, it's just the is_lock_free() function that is missing.
This is required so that the !non-lockfree-atomics feature can be used
to XFAIL tests that require runtime library support (D88818).
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D91911
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
