elfutils:mjw/check_self_referential_die

Last commit made on 2011-03-17
Get this branch:
git clone -b mjw/check_self_referential_die https://git.launchpad.net/elfutils

Branch merges

Branch information

Name:
mjw/check_self_referential_die
Repository:
lp:elfutils

Recent commits

2a511cf... by Mark J. Wielaard

Add check_self_referential_die pass to dwarflint.

be15b85... by Petr Machata

Merge branch 'dwarf' of ssh://git.fedorahosted.org/git/elfutils into dwarf

29cc1c2... by Petr Machata

dwarflint: Better validation of .debug_line table header length

2664290... by Mark J. Wielaard

Workaround weird (buggy) self referential DW_AT_containing_type case.

https://fedorahosted.org/pipermail/elfutils-devel/2011-February/001792.html

c3f2fad... by Mark J. Wielaard

Add reference chain cycle detection.

a6abbd6... by Mark J. Wielaard

Calculate reference hash before finalizing, store in die_info.

Follows whole reference chain (ignoring children) and combines
local references of all dies found. Reduces number of attr_set
collisions a lot. Unfortunately there are circular reference
chains for some larger c++ programs. That was unexpected.
Needs cycle detection to figure out what is going on.

3c2d866... by Mark J. Wielaard

Add get_die_info to references, use for hash calculation.

1969a04... by Mark J. Wielaard

Never recalculate local hash, always reuse die_info stored one.

6119d0a... by Mark J. Wielaard

Fetch local hash from pending or finalized entry die. Use it in attr_value.

4c6a8c7... by Mark J. Wielaard

Don't finalize entries on first go, just create and store die_info for them.

Do all finalization for the whole CU after walking the whole tree.