aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/array-view.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-11-20 06:35:06 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2017-11-27 15:16:22 -0800
commit407e1140841f7fc337e90a7ba4482fb5a10c1701 (patch)
treedf093648a065533bf0d0ffd62396811a1a6ec00d /gdb/common/array-view.h
parent148d6384291720bcaaa062badf1179b6215f6da3 (diff)
downloadgdb-407e1140841f7fc337e90a7ba4482fb5a10c1701.zip
gdb-407e1140841f7fc337e90a7ba4482fb5a10c1701.tar.gz
gdb-407e1140841f7fc337e90a7ba4482fb5a10c1701.tar.bz2
gas: xtensa: speed up find_trampoline_seg
find_trampoline_seg takes noticeable time when assembling source with many sections. Cache the result of the most recent search and check it first. No functional changes. gas/ 2017-11-27 Max Filippov <jcmvbkbc@gmail.com> * config/tc-xtensa.c (find_trampoline_seg): Add static variable that caches the result of the most recent search.
Diffstat (limited to 'gdb/common/array-view.h')
0 files changed, 0 insertions, 0 deletions