[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


================
@@ -413,12 +413,14 @@ class DWARFDebugNames : public DWARFAcceleratorTable {
   /// Abbreviation describing the encoding of Name Index entries.
   struct Abbrev {
     uint32_t Code;  ///< Abbreviation code
+    uint64_t AbbrevOffset; /// < Abbreviation offset in the .debug_names section
----------------
clayborg wrote:

For padding reasons, I would move this to be the first item in this struct.

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


More information about the llvm-commits mailing list