`bloaty -d compileunits` gives `bloaty: Don't know how to parse DWARF form: 21`
jchl opened this issue · comments
James Lingard commented
$ bloaty -d compileunits mylib.so --debug-file mylib.so.debug
bloaty: Don't know how to parse DWARF form: 21
It works fine with -d symbols
, or with no -d
option.
I can try to provide a simple library that reproduces this, but to do so it would be helpful if you could tell me anything about what "DWARF form 21" is.
Joshua Haberman commented
Looks like that would be DW_FORM_ref_udata
:
https://github.com/google/bloaty/blob/master/src/dwarf_constants.h#L148
Try #197 and let me know if it works for you.
James Lingard commented
That seems to fix it. Thanks!