[Lldb-commits] [lldb] [lldb] Speed up `SBValue::CreateValueFromExpression` by using DIL (PR #222192)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 16:56:35 PDT 2026


jimingham wrote:

Actually, the content-full version of CreateValueFromExpression ALSO takes an SBExpressionOptions.  So maybe a better way to do this feature is to add `{Get,Set}TryDILFirst` to SBExpressionOptions.  Then the versions of CreateValueFromExpression that DON'T take an SBExpressionOption would read the Target setting and use that to set the SBExpressionOption value, but there would still be a way to control this behavior w/o having to change a global setting.

Then we could argue about whether the overloads of EvaluateExpression that don't take an SBExpressionOptions should also prime their values from this setting.

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


More information about the lldb-commits mailing list