I've implemented the ref tracker and revamped dwarfcmp using it. The roland/dwarf-refcmp temp branch is gone now (I recommend "git remote prune origin").
I haven't done any real testing, just the make check self-comparison tests. As always, more eyeballs on the code and feedback are most welcome.
Most of the work was in the comparator revamp to set everything up for the ref tracker. If the ref tracker itself needs more work, it should not be too much trouble. It all lacks lots of comments, sorry. I might get to it soon. Or if you start asking about the code, I'll fill it in with comments to clarify those answers.
Thanks, Roland
elfutils-devel@lists.fedorahosted.org