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 Add a new SBDebugger::SetDestroyCallback() API 2023-03-07 14:48:15 -08:00
cmake [lldb][CMake] Enforce not letting lldbUtility link against any other lldb libs 2023-03-21 11:03:51 -07:00
docs [lldb][docs] Remove mentions of MIPS64 Linux debug 2023-03-13 12:01:31 +00:00
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 Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
unittests [lldb] Move UnixSignals creation into Platform plugins 2023-03-20 15:41:06 -07:00
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Revert "Reland "[CMake] Bumps minimum version to 3.20.0."" 2023-03-18 20:32:43 +01:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py