blob: bdce3253b434dad85d0d78e9de8276f2c5a5fd44 [file] [log] [blame]
* dev+ino+mtime hash table, global
** share fd; if !isrel, share Elf*,Ebl*,Dwarf*
* find_debuginfo
When local search fails, try "yum install-debugfor elf-file".
i.e., yum install `rpm -qf elffile --qf '%{SOURCERPM} %{V}-%{R} %{ARCH}\n' | awk '{ print substr($1, 1, length($1)-length("-" $2 ".src.rpm")) "-debuginfo-" $2 "." $3 }' `
done in rpm-python inside yum(?)
** all yum ops should have a -qf mode, means `rpm -qf --qf %{name}.%{arch}`
plus debug-of modifier to name.arch or -qf *
* libdw_findcu reads all cu hdrs from beginning
** good for dwarf_offdie: find cu containing that offset
** bad for dwarf_addrdie: reads in whole debuginfo file
** when from aranges (dwarf_addrdie), could read cuhdr offset directly w/o scan
*** aranges really store cu header offset, but libdw adds in header size to
get cu die offset; but libdw_findcu interning should start with header