summaryrefslogtreecommitdiffstats
path: root/libdw/libdw_findcu.c
diff options
context:
space:
mode:
authorJosh Stone <[email protected]>2014-12-10 18:33:34 -0800
committerJosh Stone <[email protected]>2014-12-11 11:23:26 -0800
commit64e44dfc9420940d238e5fdad4fadce3c1f5f05e (patch)
tree19fb9c6d48344c9f153ed9f0b7f818f3d2fb28c4 /libdw/libdw_findcu.c
parentb849f813e6753ea60784175321d4bde78c0c2ad9 (diff)
libdw: optimize dwarf_hasattr to just look at abbrev
To just check the presence of an attribute, we only need to look at the abbreviation data. This optimization avoids reading over die data at all, except possibly just to get the abbrev code. Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'libdw/libdw_findcu.c')
0 files changed, 0 insertions, 0 deletions