Prevent some spurious error messages in the debugserver logs.
authorJim Ingham <jingham@apple.com>
Thu, 1 Jun 2023 17:21:23 +0000 (10:21 -0700)
committerJim Ingham <jingham@apple.com>
Thu, 1 Jun 2023 17:21:23 +0000 (10:21 -0700)
commit267a4cda82481da159492bc6d6597d11101f8abb
tree0e576d7009ce41ae328f8f1b1d98c6d14e4688fb
parent620dc1224ff9e4cb86e6e4d8e7c3941fc921887d
Prevent some spurious error messages in the debugserver logs.

DNBGetDeploymentInfo was calling GetPlatformString w/o checking that
the load command it was processing actually provided a platform string.
That caused a bunch of worrisome looking error messages in the debugserver
log output.

Differential Revision: https://reviews.llvm.org/D151861
lldb/tools/debugserver/source/DNB.cpp