From: Davide Italiano Date: Wed, 24 Jun 2020 19:25:01 +0000 (-0700) Subject: [Apple Silicon] Debugging of process under Rosetta is supported. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4fdddf971b191aa9a6643ab637b87bc1d686254;p=platform%2Fupstream%2Fllvm.git [Apple Silicon] Debugging of process under Rosetta is supported. Remove this early exit. It's vestigial from the ppc -> Intel transition, but it doesn't apply anymore. --- diff --git a/lldb/source/Host/macosx/objcxx/Host.mm b/lldb/source/Host/macosx/objcxx/Host.mm index 045ba7f..1635132 100644 --- a/lldb/source/Host/macosx/objcxx/Host.mm +++ b/lldb/source/Host/macosx/objcxx/Host.mm @@ -631,8 +631,7 @@ uint32_t Host::FindProcessesImpl(const ProcessInstanceInfoMatch &match_info, 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;