|
Packit |
cdaae3 |
/*
|
|
Packit |
cdaae3 |
Copyright (C) 2000-2010 Silicon Graphics, Inc. All Rights Reserved.
|
|
Packit |
cdaae3 |
Portions Copyright (C) 2008-2012 SN Systems Ltd. All Rights Reserved.
|
|
Packit |
cdaae3 |
Portions Copyright (C) 2009-2012 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., 59 Temple Place - Suite 330, Boston MA 02111-1307,
|
|
Packit |
cdaae3 |
USA.
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
*/
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
#include <dwarf.h>
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
/* list for semantic check of tag-attr relation.
|
|
Packit |
cdaae3 |
See tag_attr.list for details.
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
Notes:
|
|
Packit |
cdaae3 |
If new top level TAGs are added/removed, update EXT_ATTR_TABLE_ROWS
|
|
Packit |
cdaae3 |
If new child TAGs are added/removed, update EXT_ATTR_TABLE_COLS
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
EXT_ATTR_TABLE_ROWS is defined in tag_tree.c and specifies the
|
|
Packit |
cdaae3 |
maximum number of top level TAGs.
|
|
Packit |
cdaae3 |
Current value is 10.
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
EXT_ATTR_TABLE_COLS is defined in tag_tree.c and specifies the
|
|
Packit |
cdaae3 |
maximum number of entries for the top level TAGs.
|
|
Packit |
cdaae3 |
Current value is 10.
|
|
Packit |
cdaae3 |
*/
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
/* Common DWARF extensions */
|
|
Packit |
cdaae3 |
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_compile_unit
|
|
Packit |
cdaae3 |
DW_AT_APPLE_optimized /* Used by LLVM */
|
|
Packit |
cdaae3 |
DW_AT_GNU_dwo_id
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_member
|
|
Packit |
cdaae3 |
DW_AT_GNU_guarded_by /* gcc.gnu.org/wiki/ThreadSafetyAnnotationsInDWARF */
|
|
Packit |
cdaae3 |
DW_AT_GNU_pt_guarded_by /* gcc.gnu.org/wiki/ThreadSafetyAnnotationsInDWARF */
|
|
Packit |
cdaae3 |
DW_AT_GNU_guarded /* gcc.gnu.org/wiki/ThreadSafetyAnnotationsInDWARF */
|
|
Packit |
cdaae3 |
DW_AT_GNU_pt_guarded /* gcc.gnu.org/wiki/ThreadSafetyAnnotationsInDWARF */
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_array_type
|
|
Packit |
cdaae3 |
DW_AT_GNU_vector
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_subprogram
|
|
Packit |
cdaae3 |
DW_AT_MIPS_linkage_name /* Used by GNU, SGI-IRIX, and others. */
|
|
Packit |
cdaae3 |
DW_AT_MIPS_fde /* SGI-IRIX uses this */
|
|
Packit |
cdaae3 |
DW_AT_GNU_locks_excluded /* gcc.gnu.org/wiki/ThreadSafetyAnnotationsInDWARF */
|
|
Packit |
cdaae3 |
DW_AT_GNU_exclusive_locks_required
|
|
Packit |
cdaae3 |
DW_AT_GNU_shared_locks_required
|
|
Packit |
cdaae3 |
DW_AT_APPLE_omit_frame_ptr /* Used by LLVM */
|
|
Packit |
cdaae3 |
DW_AT_APPLE_optimized /* Used by LLVM */
|
|
Packit |
cdaae3 |
DW_AT_GNU_all_tail_call_sites
|
|
Packit |
cdaae3 |
DW_AT_GNU_all_call_sites
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_variable
|
|
Packit |
cdaae3 |
DW_AT_MIPS_linkage_name /* Used by GNU, SGI-IRIX, and others. */
|
|
Packit |
cdaae3 |
DW_AT_GNU_guarded_by
|
|
Packit |
cdaae3 |
DW_AT_GNU_pt_guarded_by
|
|
Packit |
cdaae3 |
DW_AT_GNU_guarded
|
|
Packit |
cdaae3 |
DW_AT_GNU_pt_guarded
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_GNU_template_template_parameter
|
|
Packit |
cdaae3 |
DW_AT_decl_column
|
|
Packit |
cdaae3 |
DW_AT_decl_file
|
|
Packit |
cdaae3 |
DW_AT_decl_line
|
|
Packit |
cdaae3 |
DW_AT_name
|
|
Packit |
cdaae3 |
DW_AT_GNU_template_name
|
|
Packit |
cdaae3 |
DW_AT_GNU_guarded_by /* GNU changed the name of 0x2108! */
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_GNU_template_parameter_pack
|
|
Packit |
cdaae3 |
DW_AT_decl_column
|
|
Packit |
cdaae3 |
DW_AT_decl_file
|
|
Packit |
cdaae3 |
DW_AT_decl_line
|
|
Packit |
cdaae3 |
DW_AT_name
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_GNU_formal_parameter_pack
|
|
Packit |
cdaae3 |
DW_AT_decl_column
|
|
Packit |
cdaae3 |
DW_AT_decl_file
|
|
Packit |
cdaae3 |
DW_AT_decl_line
|
|
Packit |
cdaae3 |
DW_AT_name
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_GNU_call_site
|
|
Packit |
cdaae3 |
DW_AT_abstract_origin
|
|
Packit |
cdaae3 |
DW_AT_low_pc
|
|
Packit |
cdaae3 |
DW_AT_sibling
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_GNU_call_site_parameter
|
|
Packit |
cdaae3 |
DW_AT_GNU_call_site_value
|
|
Packit |
cdaae3 |
DW_AT_location
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_constant
|
|
Packit |
cdaae3 |
DW_AT_GNU_numerator
|
|
Packit |
cdaae3 |
DW_AT_GNU_denominator
|
|
Packit |
cdaae3 |
0xffffffff
|
|
Packit |
cdaae3 |
DW_TAG_subrange_type
|
|
Packit |
cdaae3 |
DW_AT_GNU_bias
|
|
Packit |
cdaae3 |
0xffffffff
|