[Lldb-commits] [lldb] [lldb] Don't crash in DIL on an operand with no type system (PR #226908)

Yao Qi via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 5 00:59:34 PDT 2026


qiyao wrote:

I pushed a new commit to have the fallback to C++ if it can't figure out the type system.
The symptom is that DIL evaluator crashes on`"$x0+$x1"` if `$x0` has no type system.  The similar crash can happen on other operators  (such as `UnaryOpNode `) or other operands (such as `ValueObjectVariable`) as well.  So the new commit is to make sure the method `GetCompilerTypeImpl ` of `ValueObjectVariable` and `ValueObjectRegister` can fallback to C++ typesystem.

https://github.com/llvm/llvm-project/pull/226908


More information about the lldb-commits mailing list