[llvm] [StringMap] Replace tombstone deletion with TAOCP 6.4 Algorithm R (PR #202103)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 08:12:37 PDT 2026
================
@@ -209,11 +209,10 @@ def children(self):
end = it + self.val["NumBuckets"]
value_ty = self.val.type.template_argument(0)
entry_base_ty = gdb.lookup_type("llvm::StringMapEntryBase")
- tombstone = gdb.parse_and_eval("llvm::StringMapImpl::TombstoneIntVal")
while it != end:
it_deref = it.dereference()
- if it_deref == 0 or it_deref == tombstone:
+ if it_deref == 0:
----------------
adrian-prantl wrote:
If you are modifying this, don't you also nee to update `llvm/utils/lldbDataFormatters.py`?
https://github.com/llvm/llvm-project/pull/202103
More information about the llvm-commits
mailing list