2 |
7u83 |
1 |
/*
|
7 |
7u83 |
2 |
* Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
|
|
|
3 |
* All rights reserved.
|
|
|
4 |
*
|
|
|
5 |
* Redistribution and use in source and binary forms, with or without
|
|
|
6 |
* modification, are permitted provided that the following conditions are met:
|
|
|
7 |
*
|
|
|
8 |
* 1. Redistributions of source code must retain the above copyright notice,
|
|
|
9 |
* this list of conditions and the following disclaimer.
|
|
|
10 |
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
11 |
* this list of conditions and the following disclaimer in the documentation
|
|
|
12 |
* and/or other materials provided with the distribution.
|
|
|
13 |
* 3. Neither the name of The TenDRA Project nor the names of its contributors
|
|
|
14 |
* may be used to endorse or promote products derived from this software
|
|
|
15 |
* without specific, prior written permission.
|
|
|
16 |
*
|
|
|
17 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
|
|
|
18 |
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
19 |
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
20 |
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
|
|
21 |
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
22 |
* EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
23 |
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
|
24 |
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
|
25 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
|
26 |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
|
27 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
28 |
*
|
|
|
29 |
* $Id$
|
|
|
30 |
*/
|
|
|
31 |
/*
|
2 |
7u83 |
32 |
Crown Copyright (c) 1997
|
7 |
7u83 |
33 |
|
2 |
7u83 |
34 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
35 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
36 |
acting through the Defence Evaluation and Research Agency
|
|
|
37 |
(DERA). It is made available to Recipients with a
|
|
|
38 |
royalty-free licence for its use, reproduction, transfer
|
|
|
39 |
to other parties and amendment for any purpose not excluding
|
|
|
40 |
product development provided that any such use et cetera
|
|
|
41 |
shall be deemed to be acceptance of the following conditions:-
|
7 |
7u83 |
42 |
|
2 |
7u83 |
43 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
44 |
reproduced upon any copies or amended versions of it;
|
7 |
7u83 |
45 |
|
2 |
7u83 |
46 |
(2) Any amended version of it shall be clearly marked to
|
|
|
47 |
show both the nature of and the organisation responsible
|
|
|
48 |
for the relevant amendment or amendments;
|
7 |
7u83 |
49 |
|
2 |
7u83 |
50 |
(3) Its onward transfer from a recipient to another
|
|
|
51 |
party shall be deemed to be that party's acceptance of
|
|
|
52 |
these conditions;
|
7 |
7u83 |
53 |
|
2 |
7u83 |
54 |
(4) DERA gives no warranty or assurance as to its
|
|
|
55 |
quality or suitability for any purpose and DERA accepts
|
|
|
56 |
no liability whatsoever in relation to any use to which
|
|
|
57 |
it may be put.
|
|
|
58 |
*/
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
/**********************************************************************
|
|
|
62 |
$Author: pwe $
|
|
|
63 |
$Date: 1998/03/11 11:03:45 $
|
|
|
64 |
$Revision: 1.3 $
|
|
|
65 |
$Log: dw2_info.h,v $
|
|
|
66 |
* Revision 1.3 1998/03/11 11:03:45 pwe
|
|
|
67 |
* DWARF optimisation info
|
|
|
68 |
*
|
|
|
69 |
* Revision 1.2 1998/02/18 11:22:22 pwe
|
|
|
70 |
* test corrections
|
|
|
71 |
*
|
|
|
72 |
* Revision 1.1.1.1 1998/01/17 15:55:48 release
|
|
|
73 |
* First version to be checked into rolling release.
|
|
|
74 |
*
|
|
|
75 |
* Revision 1.9 1997/12/04 19:41:37 pwe
|
|
|
76 |
* ANDF-DE V1.9
|
|
|
77 |
*
|
|
|
78 |
* Revision 1.8 1997/11/06 09:22:18 pwe
|
|
|
79 |
* ANDF-DE V1.8
|
|
|
80 |
*
|
|
|
81 |
* Revision 1.7 1997/10/28 10:14:26 pwe
|
|
|
82 |
* local location corrections
|
|
|
83 |
*
|
|
|
84 |
* Revision 1.6 1997/10/23 09:27:45 pwe
|
|
|
85 |
* ANDF-DE v1.7, extra diags
|
|
|
86 |
*
|
|
|
87 |
* Revision 1.5 1997/10/10 18:18:42 pwe
|
|
|
88 |
* prep ANDF-DE revision
|
|
|
89 |
*
|
|
|
90 |
* Revision 1.4 1997/08/23 13:36:48 pwe
|
|
|
91 |
* initial ANDF-DE
|
|
|
92 |
*
|
|
|
93 |
* Revision 1.3 1997/04/17 11:50:29 pwe
|
|
|
94 |
* Sparc and 80x86 support
|
|
|
95 |
*
|
|
|
96 |
* Revision 1.2 1997/04/01 17:19:43 pwe
|
|
|
97 |
* diagnose pl_tests and locate -> platform specific
|
|
|
98 |
*
|
|
|
99 |
* Revision 1.1 1997/03/20 16:09:21 pwe
|
|
|
100 |
* first version
|
|
|
101 |
*
|
|
|
102 |
**********************************************************************/
|
|
|
103 |
|
|
|
104 |
#ifndef dw2_info_key
|
|
|
105 |
#define dw2_info_key
|
|
|
106 |
|
7 |
7u83 |
107 |
typedef enum {
|
|
|
108 |
GLOBAL_NAME,
|
|
|
109 |
LOCAL_NAME,
|
|
|
110 |
DEAD_NAME,
|
|
|
111 |
PARAM_NAME,
|
|
|
112 |
INL_PARAM_NAME,
|
|
|
113 |
EXCEPT_NAME,
|
|
|
114 |
MEMBER_NAME
|
2 |
7u83 |
115 |
} dg_nm_contex;
|
|
|
116 |
|
7 |
7u83 |
117 |
extern void dw2_out_name(dg_name di, dg_nm_contex contex);
|
|
|
118 |
extern void dw2_out_generic(dg_name_list p);
|
|
|
119 |
extern void dw_out_const(exp e);
|
|
|
120 |
extern void dw_out_default(dg_default *d);
|
|
|
121 |
extern void complete_defaults(void);
|
|
|
122 |
extern void dw2_proc_start(exp p, dg_name d);
|
|
|
123 |
extern void dw2_return_pos(long over);
|
|
|
124 |
extern void dw2_proc_end(exp p);
|
|
|
125 |
extern void dw2_code_info(dg_info d, void(*mcode)(void *), void *args);
|
|
|
126 |
extern dg_where find_diag_res(void *args);
|
2 |
7u83 |
127 |
|
|
|
128 |
extern long dw2_scope_start;
|
|
|
129 |
extern int dw_doing_branch_tests;
|
|
|
130 |
|
|
|
131 |
#endif
|