xref: /illumos-gate/usr/src/lib/libdwarf/common/dwarf_loc.h (revision bc1f688b4872ace323eaddbb1a6365d054e7bf56)
1*bc1f688bSRobert Mustacchi /*
2*bc1f688bSRobert Mustacchi 
3*bc1f688bSRobert Mustacchi   Copyright (C) 2000, 2004 Silicon Graphics, Inc.  All Rights Reserved.
4*bc1f688bSRobert Mustacchi 
5*bc1f688bSRobert Mustacchi   This program is free software; you can redistribute it and/or modify it
6*bc1f688bSRobert Mustacchi   under the terms of version 2.1 of the GNU Lesser General Public License
7*bc1f688bSRobert Mustacchi   as published by the Free Software Foundation.
8*bc1f688bSRobert Mustacchi 
9*bc1f688bSRobert Mustacchi   This program is distributed in the hope that it would be useful, but
10*bc1f688bSRobert Mustacchi   WITHOUT ANY WARRANTY; without even the implied warranty of
11*bc1f688bSRobert Mustacchi   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12*bc1f688bSRobert Mustacchi 
13*bc1f688bSRobert Mustacchi   Further, this software is distributed without any warranty that it is
14*bc1f688bSRobert Mustacchi   free of the rightful claim of any third person regarding infringement
15*bc1f688bSRobert Mustacchi   or the like.  Any license provided herein, whether implied or
16*bc1f688bSRobert Mustacchi   otherwise, applies only to this software file.  Patent licenses, if
17*bc1f688bSRobert Mustacchi   any, provided herein do not apply to combinations of this program with
18*bc1f688bSRobert Mustacchi   other software, or any other product whatsoever.
19*bc1f688bSRobert Mustacchi 
20*bc1f688bSRobert Mustacchi   You should have received a copy of the GNU Lesser General Public
21*bc1f688bSRobert Mustacchi   License along with this program; if not, write the Free Software
22*bc1f688bSRobert Mustacchi   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
23*bc1f688bSRobert Mustacchi   USA.
24*bc1f688bSRobert Mustacchi 
25*bc1f688bSRobert Mustacchi   Contact information:  Silicon Graphics, Inc., 1500 Crittenden Lane,
26*bc1f688bSRobert Mustacchi   Mountain View, CA 94043, or:
27*bc1f688bSRobert Mustacchi 
28*bc1f688bSRobert Mustacchi   http://www.sgi.com
29*bc1f688bSRobert Mustacchi 
30*bc1f688bSRobert Mustacchi   For further information regarding this notice, see:
31*bc1f688bSRobert Mustacchi 
32*bc1f688bSRobert Mustacchi   http://oss.sgi.com/projects/GenInfo/NoticeExplan
33*bc1f688bSRobert Mustacchi 
34*bc1f688bSRobert Mustacchi */
35*bc1f688bSRobert Mustacchi 
36*bc1f688bSRobert Mustacchi 
37*bc1f688bSRobert Mustacchi 
38*bc1f688bSRobert Mustacchi typedef struct Dwarf_Loc_Chain_s *Dwarf_Loc_Chain;
39*bc1f688bSRobert Mustacchi 
40*bc1f688bSRobert Mustacchi struct Dwarf_Loc_Chain_s {
41*bc1f688bSRobert Mustacchi     Dwarf_Small lc_atom;
42*bc1f688bSRobert Mustacchi     Dwarf_Unsigned lc_number;
43*bc1f688bSRobert Mustacchi     Dwarf_Unsigned lc_number2;
44*bc1f688bSRobert Mustacchi     Dwarf_Unsigned lc_offset;
45*bc1f688bSRobert Mustacchi     Dwarf_Loc_Chain lc_next;
46*bc1f688bSRobert Mustacchi };
47