From: Ed M. <em...@fr...> - 2020-02-13 15:41:42
|
One of the FreeBSD Foundation's co-op students has made some enhancements to addr2line in FreeBSD to improve performance and correctness: https://reviews.freebsd.org/rS357450 addr2line: Cache CU DIEs upon a successful address lookup. https://reviews.freebsd.org/rS357844 addr2line: Handle DW_AT_ranges in compile units I have these merged to ELF Tool Chain in the "addr2line" branch in my git fork: https://github.com/emaste/elftoolchain/tree/addr2line However this uses BSD's sys/tree.h, and I am not sure if it's available on Linux distros. Once we have CI for Linux (or get advice on sys/tree.h there) I will work on bringing these changes upstream. |