[Lldb-commits] [lldb] Convert the StackFrameList mutex to a shared mutex. (PR #117252)
Martin Storsjö via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 23:22:52 PST 2024
mstorsjo wrote:
FYI, this had a small impact on deployability on macOS; I used to build LLVM with 10.9 as a deployment target, but now get these errors:
```
/Users/runner/work/llvm-mingw/llvm-mingw/llvm-project/lldb/include/lldb/Target/StackFrameList.h:161:16: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
mutable std::shared_mutex m_list_mutex;
^
```
Raising the deployment target to 10.12 instead of 10.9 is not an issue for me, it's more than plenty old for where anybody might want to run my toolchain. But IIRC there are some downstream distributions that do build recent LLVM for very old versions of macOS too (but perhaps they provide a newer libc++ to go with it, I don't know).
So - not an issue (yet AFAIK), but just a note that this does change the potential minimum baseline.
https://github.com/llvm/llvm-project/pull/117252
More information about the lldb-commits
mailing list