Debian Codegraph @

src/lib/libdwarf/dwarf_setup_sections.h

raw
1 #ifndef DWARF_SETUP_SECTIONS_H
2 #define DWARF_SETUP_SECTIONS_H
3 /* Copyright (c) 2023, David Anderson
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with
7 or without modification, are permitted provided that the
8 following conditions are met:
9
10 Redistributions of source code must retain the above
11 copyright notice, this list of conditions and the following
12 disclaimer.
13
14 Redistributions in binary form must reproduce the above
15 copyright notice, this list of conditions and the following
16 disclaimer in the documentation and/or other materials
17 provided with the distribution.
18
19 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
20 CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
21 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
24 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
30 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
31 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34 int _dwarf_enter_section_in_de_debug_sections_array(
35 Dwarf_Debug dbg,
36 const char *scn_name,
37 /* This is the number of the section in the object file. */
38 Dwarf_Unsigned scn_number,
39 unsigned group_number,
40 int *err);
41
42 #endif /* DWARF_SETUP_SECTIONS_H */