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

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 11 15:46:09 PDT 2026


================
@@ -301,6 +301,18 @@ SBError SBExpressionOptions::SetBooleanLanguageOption(const char *option_name,
   return error;
 }
 
+bool SBExpressionOptions::GetTryDILFirst() {
+  LLDB_INSTRUMENT_VA(this);
+
+  return m_opaque_up->GetTryDILFirst();
+}
+
+void SBExpressionOptions::SetTryDILFirst(bool b) {
+  LLDB_INSTRUMENT_VA(this, b);
+
+  return m_opaque_up->SetTryDILFirst(b);
----------------
cmtice wrote:

Not sure if "return" here makes sense, since it's not actually returning a value.

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


More information about the lldb-commits mailing list