Hi, I'm wondering if there is a tool that can retrieve alignment information from a mingw object file (PCOFF) like pahole which only handles ELF files:
$ pahole -C zink_rasterizer_hw_state build/src/gallium/drivers/zink/libzink.a.p/zink_surface.c.o struct zink_rasterizer_hw_state { unsigned int polygon_mode:2; /* 0: 0 4 */ unsigned int cull_mode:2; /* 0: 2 4 */ unsigned int line_mode:2; /* 0: 4 4 */ _Bool depth_clamp:1; /* 0: 6 1 */ _Bool rasterizer_discard:1; /* 0: 7 1 */ /* Bitfield combined with next fields */ _Bool pv_last:1; /* 1: 0 1 */ _Bool line_stipple_enable:1; /* 1: 1 1 */ _Bool force_persample_interp:1; /* 1: 2 1 */ _Bool clip_halfz:1; /* 1: 3 1 */ /* size: 4, cachelines: 1, members: 9 */ /* bit_padding: 20 bits */ /* last cacheline: 4 bytes */ }; _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public