[Lldb-commits] [lldb] [lldb] Thread DWARFExpression::Evaluate state through an EvalContext (NFCI) (PR #195220)

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Fri May 1 00:51:16 PDT 2026


================
@@ -1127,127 +1167,122 @@ static llvm::Error Evaluate_DW_OP_piece(
     }
 
     // Check if this is the first piece?
-    if (op_piece_offset == 0) {
-      // This is the first piece, we should push it back onto the stack
-      // so subsequent pieces will be able to access this piece and add
+    if (eval_ctx.op_piece_offset == 0) {
+      // This is the first piece, we should push it back onto the eval_ctx.stack
+      // so subsequent eval_ctx.pieces will be able to access this piece and add
----------------
s-barannikov wrote:

Unintentional change? In the next comment too

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


More information about the lldb-commits mailing list