[Lldb-commits] [lldb] [lldb][NFC] Small fixes identified by the clang static analyzer (PR #148773)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 16 10:04:06 PDT 2025
================
@@ -2015,8 +2015,6 @@ llvm::Expected<Value> DWARFExpression::Evaluate(
if (stack.size() < 1) {
UpdateValueTypeFromLocationDescription(log, dwarf_cu,
LocationDescriptionKind::Empty);
- // Reset for the next piece.
- dwarf4_location_description_kind = Memory;
----------------
jasonmolenda wrote:
It might be that stylistically we want to set `dwarf4_location_description_kind` in every clause of this DW_OP_piece block, and we should set it to stay consistent.
https://github.com/llvm/llvm-project/pull/148773
More information about the lldb-commits
mailing list