Fix debugserver reporting of deployment target
authorAdrian Prantl <aprantl@apple.com>
Thu, 9 Jul 2020 00:06:27 +0000 (17:06 -0700)
committerAdrian Prantl <aprantl@apple.com>
Thu, 9 Jul 2020 00:21:43 +0000 (17:21 -0700)
commit15149e406486092a3665791545ab9474471c0f14
treed4b8a37cfcf0c10975772ece1bb971c2bdb36eb3
parentf06d2420b738adef6cea80812fdde0bc36c4ea41
Fix debugserver reporting of deployment target

This patch fixes debugserver incorrectly returning the SDK version
instead of the minimum deployment target version.

rdar://problem/65001691

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