diff options
author | Jason Molenda <jmolenda@apple.com> | 2020-01-08 18:44:50 -0800 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2020-01-08 18:47:35 -0800 |
commit | d44a0743175fc781aa2a23d638d683ded6eb10b8 (patch) | |
tree | f1ac7e0462a99fab6c9692722fbf2cf78db9d639 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | be841f89d0014b1e0246a4feae941b2f74abd908 (diff) | |
download | bcm5719-llvm-d44a0743175fc781aa2a23d638d683ded6eb10b8.tar.gz bcm5719-llvm-d44a0743175fc781aa2a23d638d683ded6eb10b8.zip |
Save more descriptive error msg from FBS/BKS, relay it up to lldb.
When lldb requests an app launch through FrontBoard/BackBoard,
we get back an NSError object if there was a problem with an
integer error code and a descriptive text string. debugserver
would log the descriptive text string to the console, but it
would only save the error code value, ask for the
much-less-specific name of that error code, and send that very
generic error word back to lldb.
This patch saves the longer description of the failure when
available, and sends that to lldb. If unavailable, it falls
back to sending up the generic description of the error code
as it was doing before.
This only impacts the iOS on-device debugserver.
<rdar://problem/49953304>
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions