[Lldb-commits] [lldb] [LLDB] Add user documentation for DIL. (PR #228275)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 1 18:00:51 PDT 2026
jimingham wrote:
BTW, the bugginess of the expression evaluator was also pretty much never in the parsing phase, it was always the difficulty of reconstructing the type system into ClangAST's from DWARF that caused these crashes. The ClangImporter is the complex beast that we could somehow never tame.
Raphael's CLike typesystem is designed to work around the fragile parts of that task. If that works as it should the comments about the bugginess of the expression evaluator won't age well.
It is, however, true that expression evaluation has intrinsic downsides: it is always going to be slower because it involves running the target. It also can change program state in unexpected ways, so it is worth not doing that when you don't have to. Problems with stranding locks, for instance, are hard to avoid when you are running code in contexts where that code didn't expect to be run...
https://github.com/llvm/llvm-project/pull/228275
More information about the lldb-commits
mailing list