xref: /illumos-gate/usr/src/lib/libdwarf/common/pro_expr.h (revision 4d9fdb46b215739778ebc12079842c9905586999)
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 */
26*bc1f688bSRobert Mustacchi 
27*bc1f688bSRobert Mustacchi 
28*bc1f688bSRobert Mustacchi #define	MAXIMUM_LOC_EXPR_LENGTH		20
29*bc1f688bSRobert Mustacchi 
30*bc1f688bSRobert Mustacchi struct Dwarf_P_Expr_s {
31*bc1f688bSRobert Mustacchi     Dwarf_Small ex_byte_stream[MAXIMUM_LOC_EXPR_LENGTH];
32*bc1f688bSRobert Mustacchi     Dwarf_P_Debug ex_dbg;
33*bc1f688bSRobert Mustacchi     Dwarf_Unsigned ex_next_byte_offset;
34*bc1f688bSRobert Mustacchi     Dwarf_Unsigned ex_reloc_sym_index;
35*bc1f688bSRobert Mustacchi     Dwarf_Unsigned ex_reloc_offset;
36*bc1f688bSRobert Mustacchi };
37