I've launched debug_info test at the end of the last week. I modified
dwarflint & libdw to print out every memory location considered for
relocation. The test itself then is to use readelf -winfo and dwarflint
to collect reloc prints, and expect them to be the same.
The test takes ages. I had to restart it on Monday due to trivial bug
in method that I've made, and it's still running as of now. I had to
tweak the method a couple times to get rid of some false positives (e.g.
absence of .debug_info), but there were no real failures so far, and I
expect that hooks are doing the right thing WRT .debug_info.
PM