llvm-project/lldb
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
..
bindings Add a corefile style option to process save-core; skinny corefiles 2021-06-20 12:26:54 -07:00
cmake [lldb] add LLDB_SKIP_DSYM option 2021-05-26 09:32:59 -07:00
docs Add a corefile style option to process save-core; skinny corefiles 2021-06-20 12:26:54 -07:00
examples [LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py 2021-06-08 14:27:02 -07:00
include/lldb [lldb] Remove CommandReturnObject's SetError(StringRef) 2021-06-23 11:25:10 +00:00
lldb/test/Shell/Breakpoint [lldb] Don't print script output twice in HandleCommand 2021-06-08 13:57:39 -07:00
packages/Python [lldb-vscode] Add simple DAP logs dump to investigate flakiness in tests 2021-06-21 19:35:05 -07:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Remove asserts in CommandReturnObject SetError and AppendError 2021-06-23 13:11:14 +00:00
test [lldb] Add missing string include to lldb-server's main 2021-06-22 19:49:10 +02:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools Retry of [lldb-vscode] only report long running progress events 2021-06-21 20:33:09 -07:00
unittests [lldb][NFC] Use SubsystemRAII in XcodeSDKModuleTests 2021-06-22 13:41:01 +02:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
.gitignore
CMakeLists.txt [LLDB] Don't use the local python to set a default for LLDB_PYTHON_RELATIVE_PATH when cross compiling. 2021-05-11 14:04:41 +03:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py