/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _DWARF_H
#define _DWARF_H
#ifdef __cplusplus
extern "C" {
#endif
/* dwarf.h - manifest constants used in the .debug section of ELF files */
/* the "tag" - the first short of any legal record */
/* attribute forms are encoded as part */
/* of the attribute name and must fit */
/* into 4 bits */
/* attribute names, halfwords with low 4 bits indicating the form */
/* atoms which compose a location description; must fit in a byte */
/* fundamental types; must fit in two bytes */
/* type modifiers; must fit in a byte */
/* the "format" byte for array descriptions; formed from three */
/* one-bit fields */
/* ordering of arrays */
#define ORD_row_major 0
/* visibility values */
/*
* DWARF Exception Header Encoding
*
* The DWARF Exception Header Encoding is used to describe the type of data
* used in the .eh_frame_hdr section. The upper 4 bits indicate how the value
* is to be applied. The lower 4 bits indicate the format of the data.
*/
/*
* Dwarf Exception Header Value format
*/
/* the Little Endian */
/* Base 128 (LEB128) */
/* the Little Endian */
/* Base 128 (LEB128) */
/*
* Dwarf Exception Header application
*/
/* modification. */
/* of itself */
/* of the eh_frame_hdr segment */
/* ( segment type PT_AMD64_UNWIND ) */
/* when within that segment, or to */
/* the GOT when without. */
/* relocation */
typedef enum _LANG {
LANG_UNK = 0,
} LANG;
typedef enum {
DW_SUCCESS = 0,
/*
*/
uint64_t *);
int64_t *);
#ifdef __cplusplus
}
#endif
#endif /* _DWARF_H */