ldm0 wrote: > I asked some folks who know and the proc_pidinfo call and the > extended_thread_info read the same data, so this should be NFC...
Yes, this PR does not intend to change the behavior: [`thread_info`](https://github.com/apple/darwin-xnu/blob/a1babec6b135d1f35b2590a1990af3c5c5393479/osfmk/kern/thread.c#L1984), [`proc_pidinfo`](https://github.com/apple/darwin-xnu/blob/2ff845c2e033bd0ff64b5b6aa6063a1f8f65aa32/osfmk/kern/bsd_kern.c#L1076). Just a drive-by optimization to reduce syscalls. https://github.com/llvm/llvm-project/pull/111684 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits