debugserver: Support ios simulator load command disambiguation in qProcessInfo
authorAdrian Prantl <aprantl@apple.com>
Fri, 24 Jul 2020 16:43:15 +0000 (09:43 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 24 Jul 2020 16:49:16 +0000 (09:49 -0700)
commit58d84eb534252747115b358c890a1b79c65d4ad4
tree46d2df3228c4529139d4040e66c17637a80dcf59
parent8a4878cc116c7ba2e1031d63e108610920c5ef5c
debugserver: Support ios simulator load command disambiguation in qProcessInfo

This patch basically moves the disambiguation code from a place where
it was complicated to implement straight to where the load command is
parsed, which has the neat side affect of actually supporting all call
sites!

rdar://problem/66011909

Differential Revision: https://reviews.llvm.org/D84480
lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
lldb/tools/debugserver/source/DNB.cpp
lldb/tools/debugserver/source/MacOSX/MachProcess.h
lldb/tools/debugserver/source/MacOSX/MachProcess.mm