[Lldb-commits] [lldb] [lldb] Expose block id in SBBlock. (PR #184222)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 3 13:47:16 PST 2026


ashgti wrote:

> The block ID - at least for DWARF - is the DIE offset that defines the block. So block equality by comparing only the block ID gives an equality that is only valid within one ObjectFile. So this equality operator is claiming more than it actually knows.

Good to know, I've updated the equality check to also check that they're from the same function and object file and removed the GetID(). An equality check, should be enough for my use case.

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


More information about the lldb-commits mailing list