google / bloaty

Bloaty: a size profiler for binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bloaty: Don't know how to parse DWARF form: 31

mattst88 opened this issue · comments

On Gentoo Linux:

#include <stdio.h>

int main() {
	printf("hello world\n");
	return 0;
}
~ % gcc t.c -o t                                                                                            
~ % bloaty -d compileunits -s file t
bloaty: Don't know how to parse DWARF form: 31

31 is DW_TAG_ptr_to_member_type, which looks to be unhandled in bloaty. Two questions:

  1. Why is my toolchain emitting DW_TAG_ptr_to_member_type? It doesn't seem common.
  2. Does bloaty need to implement support for handling DW_TAG_ptr_to_member_type?