[Lldb-commits] [PATCH] D82493: [Apple Silicon] Debugging of process under Rosetta is supported
Davide Italiano via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 24 12:28:42 PDT 2020
davide created this revision.
davide added reviewers: jasonmolenda, friss, aprantl.
Remove this early exit. It's vestigial from the ppc -> Intel transition, but it doesn't apply anymore:
https://reviews.llvm.org/D82493
Files:
lldb/source/Host/macosx/objcxx/Host.mm
Index: lldb/source/Host/macosx/objcxx/Host.mm
===================================================================
--- lldb/source/Host/macosx/objcxx/Host.mm
+++ lldb/source/Host/macosx/objcxx/Host.mm
@@ -631,8 +631,7 @@
kinfo.kp_proc.p_pid == 0 || // Skip kernel (kernel pid is zero)
kinfo.kp_proc.p_stat == SZOMB || // Zombies are bad, they like brains...
kinfo.kp_proc.p_flag & P_TRACED || // Being debugged?
- kinfo.kp_proc.p_flag & P_WEXIT || // Working on exiting?
- kinfo.kp_proc.p_flag & P_TRANSLATED) // Skip translated ppc (Rosetta)
+ kinfo.kp_proc.p_flag & P_WEXIT)
continue;
ProcessInstanceInfo process_info;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82493.273125.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200624/cdef26c8/attachment.bin>
More information about the lldb-commits
mailing list