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 Revert "[lldb] Move ScriptedProcess private state update to implementation" 2023-03-06 13:17:43 -08:00
include/lldb [lldb][expr] Propagate ClangDynamicCheckerFunctions::Install() errors to caller 2023-03-21 19:05:23 +01:00
packages/Python/lldbsuite [LLDB] Do not dereference promise pointer in coroutine_handle pretty printer 2023-01-31 07:40:31 -08:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
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 [lldb] Remove legacy six module for py2->py3 2023-01-24 19:46:26 -08:00
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 [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
.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