libbpf/blazesym

Support DWARF v5

danielocfb opened this issue · 1 comments

See subject. Seems to be not implemented currently:

todo!(); // BlazeSym supports only v4 so far.

I have a local branch to work on v5. So far, most DIEs are in v4 or earlier versions by default, but I did see some v5 DIEs mixed in the binary. The parser can handle v5 DIEs, although we mark it as todo. However, compilers put some information we need in different attributes when generating v5 DIEs.

We can ignore v5 DIEs as a short-term solution, meaning we will lose v5 information while still using v4 information. It can mitigate the problems of v5. But we definitely need to keep working on v5.