[Lldb-commits] [lldb] Make result variables obey their dynamic values in subsequent expressions (PR #168611)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 19 13:48:59 PST 2025


================
@@ -250,8 +250,14 @@ LLVMUserExpression::DoExecute(DiagnosticManager &diagnostic_manager,
     }
   }
 
-  if (FinalizeJITExecution(diagnostic_manager, exe_ctx, result,
+  if (FinalizeJITExecution(diagnostic_manager, exe_ctx, result_sp,
                            function_stack_bottom, function_stack_top)) {
+    //    if (result_sp) {
+    //      // This is a bit of a hack, replace with a real API.  Trying to
+    //      force
+    //      // fetching all the dynamic info at this point.
+    //      result_sp->GetValueObject();
+    //    }
----------------
JDevlieghere wrote:

Did you mean to comment this out?

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


More information about the lldb-commits mailing list