authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-07-13 20:31:19+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-07-13 20:31:19+02:00
log33154b511cbf96e0c95e8bad0c5e19ba54371964
tree6a697a1ddf2965d0ba37b577c10d1d953a5711b7
parent76dc0d516089da6cd7dfb5ee1634c7e4ccef6a4a

check-object: dump more info on SHDRs


1 files changed, 4 insertions(+), 0 deletions(-)

lib/std/Build/Step/CheckObject.zig+4
......@@ -815,6 +815,10 @@ const ElfDumper = struct {
815815 try writer.print("shdr {d}\n", .{shndx});
816816 try writer.print("name {s}\n", .{getSectionName(ctx, shndx)});
817817 try writer.print("type {s}\n", .{try fmtShType(ctx.gpa, shdr.sh_type)});
818 try writer.print("addr {x}\n", .{shdr.sh_addr});
819 try writer.print("offset {x}\n", .{shdr.sh_offset});
820 try writer.print("size {x}\n", .{shdr.sh_size});
821 try writer.print("addralign {x}\n", .{shdr.sh_addralign});
818822 }
819823 }
820824