================
@@ -508,6 +508,32 @@ StackFrame::GetInScopeVariableList(bool get_file_globals,
ValueObjectSP StackFrame::GetValueForVariableExpressionPath(
llvm::StringRef var_expr, DynamicValueType use_dynamic, uint32_t options,
VariableSP &var_sp, Status &error) {
+ // Check to see if we should use the DIL implementation.
+ lldb::TargetSP target_sp = CalculateTarget();
+ ExecutionContext exe_ctx;
+ CalculateExecutionContext(exe_ctx);
+ bool use_DIL = target_sp->GetUseDIL(&exe_ctx);
+ if (use_DIL)
+ return DILGetValueForVariableExpressionPath(var_expr, use_dynamic, options,
+ var_sp, error);
+ else
----------------
cmtice wrote:
Done.
https://github.com/llvm/llvm-project/pull/115666
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits