]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Reorder some libdwP.h struct members for optimal packing.
authorRoland McGrath <roland@redhat.com>
Wed, 8 Jul 2009 21:48:34 +0000 (14:48 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 8 Jul 2009 21:48:34 +0000 (14:48 -0700)
libdw/ChangeLog
libdw/libdwP.h

index 600f6dc33d60b213ce875a242242fe4b9bb7fcbf..af8d85908d8fa2b10e1795fd57892b8a603b9906 100644 (file)
@@ -1,5 +1,7 @@
 2009-07-08  Roland McGrath  <roland@redhat.com>
 
+       * libdwP.h (struct Dwarf_Line_s): Reorder members to pack better.
+
        * dwarf_getlocation.c (check_constant_offset): New function.
        (dwarf_getlocation, dwarf_getlocation_addr): Call it to
        handle DW_AT_data_member_location of data[48] as constant offset.
index eacc49fc21bfbdd712a6f89abacc488386e8f194..359aaec6f537aa77aa97b75ebc2f4988a26f1508 100644 (file)
@@ -226,6 +226,8 @@ typedef struct Dwarf_Fileinfo_s Dwarf_Fileinfo;
 
 struct Dwarf_Line_s
 {
+  Dwarf_Files *files;
+
   Dwarf_Addr addr;
   unsigned int file;
   int line;
@@ -235,8 +237,6 @@ struct Dwarf_Line_s
   unsigned int end_sequence:1;
   unsigned int prologue_end:1;
   unsigned int epilogue_begin:1;
-
-  Dwarf_Files *files;
 };
 
 struct Dwarf_Lines_s