[lldb-dev] How to get the error message while creating an invalid target?
Jeffrey Tan via lldb-dev
lldb-dev at lists.llvm.org
Tue Mar 8 17:22:00 PST 2016
In lldb, when I try to "target create [invalid_target]", I got some
meaningful error message like:
error: 'XXX' doesn't contain any 'host' platform architectures: x86_64h,
What is the python API to get this from? I tried to check
SBTarget.IsValid() and then use
SBTarget.GetDescription(eDescriptionLevelVerbose), but that does not return
the error message.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev