Blame libdwarf/dwarf_abbrev.h

Packit cdaae3
/*
Packit cdaae3
   Copyright (C) 2000 Silicon Graphics, Inc.  All Rights Reserved.
Packit cdaae3
   Portions Copyright (C) 2008-2011  David Anderson. All Rights Reserved.
Packit cdaae3
Packit cdaae3
   This program is free software; you can redistribute it and/or modify it
Packit cdaae3
   under the terms of version 2.1 of the GNU Lesser General Public License
Packit cdaae3
   as published by the Free Software Foundation.
Packit cdaae3
Packit cdaae3
   This program is distributed in the hope that it would be useful, but
Packit cdaae3
   WITHOUT ANY WARRANTY; without even the implied warranty of
Packit cdaae3
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit cdaae3
Packit cdaae3
   Further, this software is distributed without any warranty that it is
Packit cdaae3
   free of the rightful claim of any third person regarding infringement
Packit cdaae3
   or the like.  Any license provided herein, whether implied or
Packit cdaae3
   otherwise, applies only to this software file.  Patent licenses, if
Packit cdaae3
   any, provided herein do not apply to combinations of this program with
Packit cdaae3
   other software, or any other product whatsoever.
Packit cdaae3
Packit cdaae3
   You should have received a copy of the GNU Lesser General Public
Packit cdaae3
   License along with this program; if not, write the Free Software
Packit cdaae3
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
Packit cdaae3
   USA.
Packit cdaae3
Packit cdaae3
*/
Packit cdaae3
Packit cdaae3
Packit cdaae3
Packit cdaae3
Packit cdaae3
/*  In a given CU, one of these is (eventually) set up
Packit cdaae3
    for every abbreviation we need to find (and for all.
Packit cdaae3
    those ealier in the abbreviations for that CU).
Packit cdaae3
    So we don't want elements needlessly big.
Packit cdaae3
*/
Packit cdaae3
struct Dwarf_Abbrev_s {
Packit cdaae3
    /*  No TAG should exceed DW_TAG_hi_user, 0xffff, but
Packit cdaae3
        we do allow a larger value here. */
Packit cdaae3
    Dwarf_Word dab_tag;
Packit cdaae3
    /*  Abbreviations are numbered (normally sequentially from
Packit cdaae3
        1 and so 16 bits is not enough!  */
Packit cdaae3
    Dwarf_Word dab_code;
Packit cdaae3
    Dwarf_Small dab_has_child;
Packit cdaae3
    Dwarf_Byte_Ptr dab_abbrev_ptr;
Packit cdaae3
    Dwarf_Debug dab_dbg;
Packit cdaae3
Packit cdaae3
    /* Section global offset of the abbrev. */
Packit cdaae3
    Dwarf_Off    dab_goffset;
Packit cdaae3
    Dwarf_Off    dab_count;
Packit cdaae3
};