-
Notifications
You must be signed in to change notification settings - Fork 0
/
cflags.h
50 lines (40 loc) · 820 Bytes
/
cflags.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* cflags.h
* Ryan Mallon (2005)
*
* Compiler flags for command line options
*
*/
#ifndef _CFLAGS_H_
#define _CFLAGS_H_
typedef struct {
unsigned int flags;
unsigned int oflags;
int debug_level;
char *entry_point;
int history_simple_depth;
int history_arg_setting;
} compiler_options_t;
/* Compiler Flags */
enum {
CFLAG_CLEAR_ALL = 0x0,
CFLAG_OUTPUT_IC = 0x1,
CFLAG_OUTPUT_HLIC = 0x2,
CFLAG_DEBUG_OUTPUT = 0x4,
CFLAG_USE_LOCAL_HISTORY_LIB = 0x8,
CFLAG_HISTORY_SIMPLE_STORE = 0x10,
CFLAG_HISTORY_INLINE = 0x20,
CFLAG_OUTPUT_STABS = 0x40,
CFLAG_INLINE = 0x80,
CFLAG_HISTORY_AW_ORDER_D = 0x100
};
/* History arg settings */
enum {
HISTORY_ARG_DISABLED = 0,
HISTORY_ARG_TEMP_COPY = 1
};
/* Optomisation Flags */
enum {
OFLAG_REG_ASSIGN = 1
};
#endif /* _CFLAGS_H_ */