commit | c91f9c8c0a28149b8da39b4403444afa45c9ffff | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Fri Jan 31 11:25:45 2025 -0700 |
committer | Tom Tromey <tom@tromey.com> | Wed Feb 19 17:58:04 2025 -0700 |
tree | 8ef651eb24bf6307a470a004eb4545c3a4595c39 | |
parent | f1462b65ff8c1cbfa2a52f875fb56ef020f56853 [diff] |
Move producer checks to dwarf2_cu This changes the various producer-checking functions to be methods on dwarf2_cu. It adds a few new caching members as well -- every one that could reasonably be done this way has been converted, with the only exception being a gdbarch hook. Note the new asserts in the accessors. Without the earlier prepare_one_comp_unit change, these could trigger in some modes.