summaryrefslogtreecommitdiffstats
path: root/libdw/memory-access.h
diff options
context:
space:
mode:
authorJosh Stone <[email protected]>2013-12-09 13:52:10 -0800
committerJosh Stone <[email protected]>2013-12-13 09:48:07 -0800
commitc0d2a0b3a38bfb5164c1cf822d50e46cfad9c071 (patch)
treeec3c255fa5962f3bcc8cebb22df04776b8af8a0f /libdw/memory-access.h
parent3951f2ec0aaca021c77a2c7a464dcf43433261c3 (diff)
libdw: Add an inlined fast path for __libdw_form_val_len
Quite a few DW_FORMs have a fixed length for their data, and we can easily represent these in a small lookup table. The rest of the forms are left in the old function to compute as needed. Combined with inlining, this takes care of many forms with fewer branches and without any call. (It's conceivable that a smart compiler could make a similar lookup transformation from the large switch itself, but GCC doesn't.) Signed-off-by: Josh Stone <[email protected]>
Diffstat (limited to 'libdw/memory-access.h')
0 files changed, 0 insertions, 0 deletions