xref: /illumos-gate/usr/src/lib/libdwarf/common/pro_arange.h (revision 16b76d3cb933ff92018a2a75594449010192eacb)
1 /*
2 
3   Copyright (C) 2000,2004 Silicon Graphics, Inc.  All Rights Reserved.
4 
5   This program is free software; you can redistribute it and/or modify it
6   under the terms of version 2.1 of the GNU Lesser General Public License
7   as published by the Free Software Foundation.
8 
9   This program is distributed in the hope that it would be useful, but
10   WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13   Further, this software is distributed without any warranty that it is
14   free of the rightful claim of any third person regarding infringement
15   or the like.  Any license provided herein, whether implied or
16   otherwise, applies only to this software file.  Patent licenses, if
17   any, provided herein do not apply to combinations of this program with
18   other software, or any other product whatsoever.
19 
20   You should have received a copy of the GNU Lesser General Public
21   License along with this program; if not, write the Free Software
22   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
23   USA.
24 
25 */
26 
27 
28 /*
29     If ag_end_symbol_index is zero,
30     ag_length must be known and non-zero.
31 
32     Deals with length being known costant or fr
33     assembler output, not known.
34 */
35 
36 struct Dwarf_P_Arange_s {
37     Dwarf_Addr ag_begin_address; /* known address or for
38         symbolic assem output,
39         offset of symbol */
40     Dwarf_Addr ag_length; /* zero or address or offset */
41     Dwarf_Unsigned ag_symbol_index;
42 
43     Dwarf_P_Arange ag_next;
44 
45     Dwarf_Unsigned ag_end_symbol_index; /* zero or index/id of end
46 symbol */
47     Dwarf_Addr ag_end_symbol_offset; /* known address or for
48         symbolic assem output,
49         offset of end symbol */
50 
51 };
52