llvm-project/lldb
Stefan Gränitz 32baf5c1c2 [lldb][expr] Propagate ClangDynamicCheckerFunctions::Install() errors to caller
I came accross this, because a lot of regression tests were saying:
```
(lldb) p argc
error: expression failed to parse:
error: couldn't install checkers, unknown error
```

With this change, error messages provide more detail:
```
(lldb) p argc
error: expression failed to parse:
error: couldn't install checkers:
error: Couldn't lookup symbols:
  __objc_load
```

I didn't find a case where `Diagnostics()` is not empty. Also it looks like this isn't covered in any test (yet).

Reviewed By: bulbazord, Michael137

Differential Revision: https://reviews.llvm.org/D146541
2023-03-21 19:05:23 +01:00
..
bindings
cmake [lldb][CMake] Enforce not letting lldbUtility link against any other lldb libs 2023-03-21 11:03:51 -07:00
docs
examples
include/lldb [lldb][expr] Propagate ClangDynamicCheckerFunctions::Install() errors to caller 2023-03-21 19:05:23 +01:00
packages/Python/lldbsuite
resources
scripts
source [lldb][expr] Propagate ClangDynamicCheckerFunctions::Install() errors to caller 2023-03-21 19:05:23 +01:00
test Recommit [lldb] Change dwim-print to default to disabled persistent results 2023-03-21 10:42:24 -07:00
third_party/Python/module
tools
unittests
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py