]>
Commit | Line | Data |
---|---|---|
04f0f42b TT |
1 | /* DWARF aranges handling |
2 | ||
1d506c26 | 3 | Copyright (C) 1994-2024 Free Software Foundation, Inc. |
04f0f42b TT |
4 | |
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 3 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | #ifndef GDB_DWARF2_ARANGES_H | |
21 | #define GDB_DWARF2_ARANGES_H | |
22 | ||
23 | class dwarf2_per_objfile; | |
24 | class dwarf2_section_info; | |
25 | class addrmap; | |
26 | ||
27 | /* Read the address map data from DWARF-5 .debug_aranges, and use it | |
28 | to populate given addrmap. Returns true on success, false on | |
29 | failure. */ | |
30 | ||
31 | extern bool read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile, | |
32 | dwarf2_section_info *section, | |
8e279fda TT |
33 | addrmap *mutable_map, |
34 | deferred_warnings *warn); | |
04f0f42b TT |
35 | |
36 | #endif /* GDB_DWARF2_ARANGES_H */ |