aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile/compile-cplus-symbols.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-16 10:31:45 +1030
committerAlan Modra <amodra@gmail.com>2020-03-16 13:05:17 +1030
commit28d1356774c2c61adc7d6e6723de2351cd9f4ddc (patch)
treece6c561ef56ded6fc7725d153e7552e90e8f9b89 /gdb/compile/compile-cplus-symbols.c
parent60e63c3e9750b036d50e58bc173591fa450601b6 (diff)
downloadgdb-28d1356774c2c61adc7d6e6723de2351cd9f4ddc.zip
gdb-28d1356774c2c61adc7d6e6723de2351cd9f4ddc.tar.gz
gdb-28d1356774c2c61adc7d6e6723de2351cd9f4ddc.tar.bz2
asan: readelf leak in hppa_process_unwind
This extracts code reading symbol tables into a common function that tidies up after errors. I've also changed an error reporting multiple string tables to an error on multiple symbol tables. * readelf.c (get_symbols): New function. (process_relocs, ia64_process_unwind, hppa_process_unwind), (arm_process_unwind, get_symbol_for_build_attribute): Use it.
Diffstat (limited to 'gdb/compile/compile-cplus-symbols.c')
0 files changed, 0 insertions, 0 deletions