[Lldb-commits] [lldb] Change debugserver to report the cpu(sub)type of process, not the host. (PR #82938)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 26 09:01:44 PST 2024


adrian-prantl wrote:

> Overall this looks good but we should verify that this doesn't regress running unmodified iOS binaries on macOS (https://reviews.llvm.org/D117340, https://reviews.llvm.org/D121444). It was really tricky to get that right and it's all based on the binary and host triples. We should at least hand-test before & after this patch and possibly report an arm64e triple in TestPlatformMacOSX.py.

I just tried it out and with the patch debugserver correctly reports a `cpusubtype:0` (change of behavior) and the Target gets set to `arm64-apple-ios-` which is identical to what my system LLDB reports (no change of behavior).

https://github.com/llvm/llvm-project/pull/82938


More information about the lldb-commits mailing list