On Feb 27, 2015, Petr Machata wrote: > Alexandre Oliva writes: >> Ok, I looked into it further, after patching dwlocstat to dump >> per-variable per-range coverage/length info, so as to be able to compare >> object files more easily. > If you send me those patches, I can finish them, bind the functionality > to a command line option, and merge upstream. Here's what I've got so far. It's ugly and needs polishing, that I planned to do once this issue was resolved, but if you feel like beating me to it, you're surely welcome to ;-) I'm sure there must be a better way to compute the CIE offset, or even the base address of the debug info section (at least the "- 11" needs to be replaced by something more sensible and more portable), but I didn't try very hard to find it out :-) Anyway, ideally, dumping it would be optional; I've added and removed it numerous times depending on the exact object file I was comparing and what info I sought.