[llvm] [CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (PR #95039)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 13:59:29 PDT 2024


================
@@ -257,17 +257,37 @@ class AppleAccelTableData : public AccelTableData {
 
 /// Helper class to identify an entry in DWARF5AccelTable based on their DIE
 /// offset and UnitID.
-struct OffsetAndUnitID : std::pair<uint64_t, uint32_t> {
----------------
felipepiovezan wrote:

would it make it sense to just use tuple here to avoid having to define the dense map boilerplate?

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


More information about the llvm-commits mailing list