pahole shows data structure layouts encoded in debugging information formats, DWARF and CTF being supported.