diff options
| author | Emily Shi <code@emi.sh> | 2021-02-25 16:04:29 -0800 |
|---|---|---|
| committer | Emily Shi <code@emi.sh> | 2021-03-01 10:52:47 -0800 |
| commit | 71ef54337d5e83c6767e4816227ef340caa337fc (patch) | |
| tree | 1aa5654bd7e942077529b7a943aa8ad4a8d560fa /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 8f9f7d02aaac98f8539158e05975e7acbbb58fcc (diff) | |
[darwin] switch blocking mutex from osspinlock to os_unfair_lock
OSSpinLock is deprecated, so we are switching to `os_unfair_lock`. However, `os_unfair_lock` isn't available on older OSs, so we keep `OSSpinLock` as fallback.
Also change runtime assumption check to static since they only ever check constant values.
rdar://69588111
Reviewed By: delcypher, yln
Differential Revision: https://reviews.llvm.org/D97509
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
