diff options
| author | Josh Stone <[email protected]> | 2013-09-24 15:52:05 -0700 |
|---|---|---|
| committer | Josh Stone <[email protected]> | 2013-09-25 09:39:32 -0700 |
| commit | f06c858f10d41b5156cc818c937d2ddd403d906d (patch) | |
| tree | e99d02f1c2d703f54bf2ee4a88681ff7eaba43ae /libdw/ChangeLog | |
| parent | 2cfec29465e4d1882256f85eb92bbde4a9bdedbe (diff) | |
libdw: Simplify __libdw_visit_scopes' tag checks
The former classify_die() was splitting tags into more classes than
actually needed.
The one place that used the "imported" die_class now just compares to
DW_TAG_imported_unit directly.
The recursion check was squashing "match", "match_inline", and "walk"
into the same action. Now that uses the new may_have_scopes(), which
just returns true for all tags that had those classifications.
The net result has no functional change, but performs better.
Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'libdw/ChangeLog')
| -rw-r--r-- | libdw/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 8e1dd92c..21cc4854 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,11 @@ +2013-09-24 Josh Stone <[email protected]> + + * libdw_visit_scopes.c (classify_die): Removed. + (may_have_scopes): New function to replace classify_die. There's no + need for full classification; just find tags that may contain scopes. + (__libdw_visit_scopes): Use a direct tag comparison for imported + units, and use may_have_scopes to test if recursion is needed. + 2013-09-20 Mark Wielaard <[email protected]> * dwarf_getfuncs.c (visitor_info): New struct. |
