commit | e0b74a85b879354d2aa1a6b5026d5de58c78ec45 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Thu Feb 23 09:44:50 2023 +0000 |
committer | Nick Clifton <nickc@redhat.com> | Thu Feb 23 09:44:50 2023 +0000 |
tree | df6e80125aa53469eb30785576ae9f92c61be783 | |
parent | 456481c6d634819b713eb88fc629a09b4e955aa3 [diff] |
Fix the BFD library's find_nearest_line feature to produce consistent results. PR 30150 * dwarf2.c (comp_unit_contains_address): Renamed to ... (comp_unit_may_contain_address): this, and added code to return true if the CU's ranges have not yet been computed. (_bfd_dwarf2_find_nearest_line_with_alt): Use the renamed function, simplifying code in the process.