[llvm] [LLVM][DWARF] Chnage order for .debug_names abbrev print out (PR #80229)

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 14:11:14 PST 2024


================
@@ -540,7 +540,7 @@ DWARFDebugNames::NameIndex::extractAbbrev(uint64_t *Offset) {
     return createStringError(errc::illegal_byte_sequence,
                              "Incorrectly terminated abbreviation table.");
   }
-
+  uint64_t AbbrevOffset = *Offset;
----------------
clayborg wrote:

make const to ensure someone doesn't change it?

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


More information about the llvm-commits mailing list