]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Refactor quick-function installation in DWARF reader
authorTom Tromey <tom@tromey.com>
Wed, 6 Dec 2023 21:29:40 +0000 (14:29 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 18 Jan 2024 15:20:16 +0000 (08:20 -0700)
commitcd0dcd0cfd0bfd8762a686737195759e20b89e63
tree4b5fb7c1420698e9ffd8ac94b41a2bb84ecda1b1
parent6f49611564662fe56255359cd7d227b5b5fc64dc
Refactor quick-function installation in DWARF reader

While working on the previous patch, I saw that the handling of
quick-function installation could be unified
dwarf2_initialize_objfile.  In particular, at the end of the function,
if there is an index table, then it can be used to create the quick
function object.

This cleanup will be useful when rewriting the .debug_names reader.
gdb/dwarf2/read.c