]> git.saurik.com Git - apple/ld64.git/blame - FireOpal/src/dwarf2.h
ld64-85.2.1.tar.gz
[apple/ld64.git] / FireOpal / src / dwarf2.h
CommitLineData
4f3e367c
A
1/*
2 * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/* These constants were taken from version 3 of the DWARF standard,
24 which is Copyright (c) 2005 Free Standards Group, and
25 Copyright (c) 1992, 1993 UNIX International, Inc. */
26
27/* This is not a complete list. */
28enum {
29 DW_TAG_compile_unit = 17,
30 DW_TAG_partial_unit = 60
31};
32
33/* This is not a complete list. */
34enum {
35 DW_AT_sibling = 1,
36 DW_AT_name = 3,
37 DW_AT_stmt_list = 16,
38 DW_AT_comp_dir = 27
39};
40
41enum {
42 DW_FORM_addr = 1,
43 DW_FORM_block2 = 3,
44 DW_FORM_block4,
45 DW_FORM_data2,
46 DW_FORM_data4,
47 DW_FORM_data8,
48 DW_FORM_string,
49 DW_FORM_block,
50 DW_FORM_block1,
51 DW_FORM_data1,
52 DW_FORM_flag,
53 DW_FORM_sdata,
54 DW_FORM_strp,
55 DW_FORM_udata,
56 DW_FORM_ref_addr,
57 DW_FORM_ref1,
58 DW_FORM_ref2,
59 DW_FORM_ref4,
60 DW_FORM_ref8,
61 DW_FORM_ref_udata,
62 DW_FORM_indirect /* 22 */
63};
64
65enum {
66 DW_LNS_extended_op = 0,
67 DW_LNS_copy,
68 DW_LNS_advance_pc,
69 DW_LNS_advance_line,
70 DW_LNS_set_file,
71 DW_LNS_set_column,
72 DW_LNS_negate_stmt,
73 DW_LNS_set_basic_block,
74 DW_LNS_const_add_pc,
75 DW_LNS_fixed_advance_pc,
76 DW_LNS_set_prologue_end,
77 DW_LNS_set_epilogue_begin,
78 DW_LNS_set_isa
79};
80
81enum {
82 DW_LNE_end_sequence = 1,
83 DW_LNE_set_address,
84 DW_LNE_define_file
85};