llvm-project/lldb/source
David Spickett fe63db25bc [lldb] Remove asserts in CommandReturnObject SetError and AppendError
I added asserts to these in https://reviews.llvm.org/D104525.
They are available (directly or otherwise) via the API so we
should not assert.

Restore the previous behaviour. If the message
is empty, we return early before printing anything.
For SetError don't assert that the error is a failure.

The remaining assert is in AppendRawError which
is not part of the API.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D104778
2021-06-23 13:11:14 +00:00
..
API [lldb] Remove CommandReturnObject's SetError(StringRef) 2021-06-23 11:25:10 +00:00
Breakpoint [lldb] Remove redundant calls to set eReturnStatusFailed 2021-06-17 12:21:54 +01:00
Commands [lldb] Remove CommandReturnObject's SetError(StringRef) 2021-06-23 11:25:10 +00:00
Core [lldb] Enable Rust v0 symbol demangling 2021-06-21 18:20:15 +02:00
DataFormatters [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
Expression Improve materializer error messages to include type names. 2021-06-11 17:59:00 -07:00
Host [lldb][NFC] Remove some redundant semicolons on HostInfoMacOSX 2021-06-23 15:06:12 +02:00
Initialization [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
Interpreter [lldb] Remove asserts in CommandReturnObject SetError and AppendError 2021-06-23 13:11:14 +00:00
Plugins Try to unbreak the windows CI 2021-06-20 13:13:46 -07:00
Symbol [lldb] Enable Rust v0 symbol demangling 2021-06-21 18:20:15 +02:00
Target [trace][intel-pt] Create basic SB API 2021-06-17 15:14:47 -07:00
Utility [lldb] Add support for escaping zsh arguments 2021-06-21 19:46:55 +02:00
CMakeLists.txt Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
lldb.cpp [lldb] Reinstate support for LLDB_VERSION_STRING 2021-02-22 16:56:00 -08:00