Mercurial > hg > CbC > CbC_gcc
annotate gcc/params.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
rev | line source |
---|---|
0 | 1 /* params.h - Run-time parameters. |
111 | 2 Copyright (C) 2001-2017 Free Software Foundation, Inc. |
0 | 3 Written by Mark Mitchell <mark@codesourcery.com>. |
4 | |
5 This file is part of GCC. | |
6 | |
7 GCC is free software; you can redistribute it and/or modify it under | |
8 the terms of the GNU General Public License as published by the Free | |
9 Software Foundation; either version 3, or (at your option) any later | |
10 version. | |
11 | |
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GCC; see the file COPYING3. If not see | |
19 <http://www.gnu.org/licenses/>. */ | |
20 | |
21 /* This module provides a means for setting integral parameters | |
22 dynamically. Instead of encoding magic numbers in various places, | |
23 use this module to organize all the magic numbers in a single | |
24 place. The values of the parameters can be set on the | |
25 command-line, thereby providing a way to control the amount of | |
26 effort spent on particular optimization passes, or otherwise tune | |
27 the behavior of the compiler. | |
28 | |
29 Since their values can be set on the command-line, these parameters | |
30 should not be used for non-dynamic memory allocation. */ | |
31 | |
32 #ifndef GCC_PARAMS_H | |
33 #define GCC_PARAMS_H | |
34 | |
35 /* No parameter shall have this value. */ | |
36 | |
37 #define INVALID_PARAM_VAL (-1) | |
38 | |
39 /* The information associated with each parameter. */ | |
40 | |
111 | 41 struct param_info |
0 | 42 { |
43 /* The name used with the `--param <name>=<value>' switch to set this | |
44 value. */ | |
111 | 45 const char *option; |
0 | 46 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
47 /* The default value. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
48 int default_value; |
0 | 49 |
50 /* Minimum acceptable value. */ | |
51 int min_value; | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
52 |
0 | 53 /* Maximum acceptable value, if greater than minimum */ |
54 int max_value; | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
55 |
0 | 56 /* A short description of the option. */ |
111 | 57 const char *help; |
58 | |
59 /* The optional names corresponding to the values. */ | |
60 const char **value_names; | |
61 }; | |
0 | 62 |
63 /* An array containing the compiler parameters and their current | |
64 values. */ | |
65 | |
66 extern param_info *compiler_params; | |
67 | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
68 /* Returns the number of entries in the table, for the use by plugins. */ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
69 extern size_t get_num_compiler_params (void); |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
70 |
0 | 71 /* Add the N PARAMS to the current list of compiler parameters. */ |
72 | |
73 extern void add_params (const param_info params[], size_t n); | |
74 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
75 /* Set the VALUE associated with the parameter given by NAME in the |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
76 table PARAMS using PARAMS_SET to indicate which have been |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
77 explicitly set. */ |
0 | 78 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
79 extern void set_param_value (const char *name, int value, |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
80 int *params, int *params_set); |
0 | 81 |
82 | |
83 /* The parameters in use by language-independent code. */ | |
84 | |
111 | 85 enum compiler_param |
0 | 86 { |
111 | 87 #include "params.list" |
0 | 88 LAST_PARAM |
111 | 89 }; |
90 | |
91 extern bool find_param (const char *, enum compiler_param *); | |
92 extern const char *find_param_fuzzy (const char *name); | |
93 extern bool param_string_value_p (enum compiler_param, const char *, int *); | |
0 | 94 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
95 /* The value of the parameter given by ENUM. Not an lvalue. */ |
0 | 96 #define PARAM_VALUE(ENUM) \ |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
97 ((int) global_options.x_param_values[(int) ENUM]) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
98 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
99 /* Set the value of the parameter given by NUM to VALUE, implicitly, |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
100 if it has not been set explicitly by the user, in the table PARAMS |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
101 using PARAMS_SET to indicate which have been explicitly set. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
102 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
103 extern void maybe_set_param_value (compiler_param num, int value, |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
104 int *params, int *params_set); |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
105 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
106 /* Set the default value of a parameter given by NUM to VALUE, before |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
107 option processing. */ |
0 | 108 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
109 extern void set_default_param_value (compiler_param num, int value); |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
110 |
111 | 111 /* Add all parameters and default values that can be set in both the |
112 driver and the compiler proper. */ | |
113 | |
114 extern void global_init_params (void); | |
115 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
116 /* Note that all parameters have been added and all default values |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
117 set. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
118 extern void finish_params (void); |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
119 |
111 | 120 /* Reset all state in params.c */ |
121 | |
122 extern void params_c_finalize (void); | |
123 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
124 /* Return the default value of parameter NUM. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
125 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
126 extern int default_param_value (compiler_param num); |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
127 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
128 /* Initialize an array PARAMS with default values of the |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
129 parameters. */ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
130 extern void init_param_values (int *params); |
0 | 131 |
132 /* Macros for the various parameters. */ | |
133 #define MAX_INLINE_INSNS_SINGLE \ | |
134 PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE) | |
135 #define MAX_INLINE_INSNS \ | |
136 PARAM_VALUE (PARAM_MAX_INLINE_INSNS) | |
137 #define MAX_INLINE_SLOPE \ | |
138 PARAM_VALUE (PARAM_MAX_INLINE_SLOPE) | |
139 #define MIN_INLINE_INSNS \ | |
140 PARAM_VALUE (PARAM_MIN_INLINE_INSNS) | |
141 #define MAX_INLINE_INSNS_AUTO \ | |
142 PARAM_VALUE (PARAM_MAX_INLINE_INSNS_AUTO) | |
143 #define MAX_VARIABLE_EXPANSIONS \ | |
144 PARAM_VALUE (PARAM_MAX_VARIABLE_EXPANSIONS) | |
145 #define MIN_VECT_LOOP_BOUND \ | |
146 PARAM_VALUE (PARAM_MIN_VECT_LOOP_BOUND) | |
147 #define MAX_DELAY_SLOT_INSN_SEARCH \ | |
148 PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH) | |
149 #define MAX_DELAY_SLOT_LIVE_SEARCH \ | |
150 PARAM_VALUE (PARAM_MAX_DELAY_SLOT_LIVE_SEARCH) | |
151 #define MAX_PENDING_LIST_LENGTH \ | |
152 PARAM_VALUE (PARAM_MAX_PENDING_LIST_LENGTH) | |
153 #define MAX_GCSE_MEMORY \ | |
154 ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY)) | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
155 #define MAX_GCSE_INSERTION_RATIO \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
156 ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_INSERTION_RATIO)) |
0 | 157 #define GCSE_AFTER_RELOAD_PARTIAL_FRACTION \ |
158 PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION) | |
159 #define GCSE_AFTER_RELOAD_CRITICAL_FRACTION \ | |
160 PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION) | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
161 #define GCSE_COST_DISTANCE_RATIO \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
162 PARAM_VALUE (PARAM_GCSE_COST_DISTANCE_RATIO) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
163 #define GCSE_UNRESTRICTED_COST \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
164 PARAM_VALUE (PARAM_GCSE_UNRESTRICTED_COST) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
165 #define MAX_HOIST_DEPTH \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
166 PARAM_VALUE (PARAM_MAX_HOIST_DEPTH) |
0 | 167 #define MAX_UNROLLED_INSNS \ |
168 PARAM_VALUE (PARAM_MAX_UNROLLED_INSNS) | |
169 #define MAX_SMS_LOOP_NUMBER \ | |
170 PARAM_VALUE (PARAM_MAX_SMS_LOOP_NUMBER) | |
171 #define SMS_MAX_II_FACTOR \ | |
172 PARAM_VALUE (PARAM_SMS_MAX_II_FACTOR) | |
173 #define SMS_DFA_HISTORY \ | |
174 PARAM_VALUE (PARAM_SMS_DFA_HISTORY) | |
175 #define SMS_LOOP_AVERAGE_COUNT_THRESHOLD \ | |
176 PARAM_VALUE (PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD) | |
177 #define INTEGER_SHARE_LIMIT \ | |
178 PARAM_VALUE (PARAM_INTEGER_SHARE_LIMIT) | |
179 #define MAX_LAST_VALUE_RTL \ | |
180 PARAM_VALUE (PARAM_MAX_LAST_VALUE_RTL) | |
181 #define MIN_VIRTUAL_MAPPINGS \ | |
182 PARAM_VALUE (PARAM_MIN_VIRTUAL_MAPPINGS) | |
183 #define VIRTUAL_MAPPINGS_TO_SYMS_RATIO \ | |
184 PARAM_VALUE (PARAM_VIRTUAL_MAPPINGS_TO_SYMS_RATIO) | |
185 #define MAX_FIELDS_FOR_FIELD_SENSITIVE \ | |
186 ((size_t) PARAM_VALUE (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE)) | |
187 #define MAX_SCHED_READY_INSNS \ | |
188 PARAM_VALUE (PARAM_MAX_SCHED_READY_INSNS) | |
189 #define PREFETCH_LATENCY \ | |
190 PARAM_VALUE (PARAM_PREFETCH_LATENCY) | |
191 #define SIMULTANEOUS_PREFETCHES \ | |
192 PARAM_VALUE (PARAM_SIMULTANEOUS_PREFETCHES) | |
193 #define L1_CACHE_SIZE \ | |
194 PARAM_VALUE (PARAM_L1_CACHE_SIZE) | |
195 #define L1_CACHE_LINE_SIZE \ | |
196 PARAM_VALUE (PARAM_L1_CACHE_LINE_SIZE) | |
197 #define L2_CACHE_SIZE \ | |
198 PARAM_VALUE (PARAM_L2_CACHE_SIZE) | |
199 #define USE_CANONICAL_TYPES \ | |
200 PARAM_VALUE (PARAM_USE_CANONICAL_TYPES) | |
201 #define IRA_MAX_LOOPS_NUM \ | |
202 PARAM_VALUE (PARAM_IRA_MAX_LOOPS_NUM) | |
203 #define IRA_MAX_CONFLICT_TABLE_SIZE \ | |
204 PARAM_VALUE (PARAM_IRA_MAX_CONFLICT_TABLE_SIZE) | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
205 #define IRA_LOOP_RESERVED_REGS \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
206 PARAM_VALUE (PARAM_IRA_LOOP_RESERVED_REGS) |
111 | 207 #define LRA_MAX_CONSIDERED_RELOAD_PSEUDOS \ |
208 PARAM_VALUE (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS) | |
209 #define LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF \ | |
210 PARAM_VALUE (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF) | |
0 | 211 #define SWITCH_CONVERSION_BRANCH_RATIO \ |
212 PARAM_VALUE (PARAM_SWITCH_CONVERSION_BRANCH_RATIO) | |
213 #define LOOP_INVARIANT_MAX_BBS_IN_LOOP \ | |
214 PARAM_VALUE (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP) | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
215 #define SLP_MAX_INSNS_IN_BB \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
216 PARAM_VALUE (PARAM_SLP_MAX_INSNS_IN_BB) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
217 #define MIN_INSN_TO_PREFETCH_RATIO \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
218 PARAM_VALUE (PARAM_MIN_INSN_TO_PREFETCH_RATIO) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
219 #define PREFETCH_MIN_INSN_TO_MEM_RATIO \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
220 PARAM_VALUE (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
221 #define MIN_NONDEBUG_INSN_UID \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
222 PARAM_VALUE (PARAM_MIN_NONDEBUG_INSN_UID) |
111 | 223 #define MAX_STORES_TO_SINK \ |
224 PARAM_VALUE (PARAM_MAX_STORES_TO_SINK) | |
225 #define ALLOW_LOAD_DATA_RACES \ | |
226 PARAM_VALUE (PARAM_ALLOW_LOAD_DATA_RACES) | |
227 #define ALLOW_STORE_DATA_RACES \ | |
228 PARAM_VALUE (PARAM_ALLOW_STORE_DATA_RACES) | |
229 #define ALLOW_PACKED_LOAD_DATA_RACES \ | |
230 PARAM_VALUE (PARAM_ALLOW_PACKED_LOAD_DATA_RACES) | |
231 #define ALLOW_PACKED_STORE_DATA_RACES \ | |
232 PARAM_VALUE (PARAM_ALLOW_PACKED_STORE_DATA_RACES) | |
233 #define ASAN_STACK \ | |
234 PARAM_VALUE (PARAM_ASAN_STACK) | |
235 #define ASAN_PROTECT_ALLOCAS \ | |
236 PARAM_VALUE (PARAM_ASAN_PROTECT_ALLOCAS) | |
237 #define ASAN_GLOBALS \ | |
238 PARAM_VALUE (PARAM_ASAN_GLOBALS) | |
239 #define ASAN_INSTRUMENT_READS \ | |
240 PARAM_VALUE (PARAM_ASAN_INSTRUMENT_READS) | |
241 #define ASAN_INSTRUMENT_WRITES \ | |
242 PARAM_VALUE (PARAM_ASAN_INSTRUMENT_WRITES) | |
243 #define ASAN_MEMINTRIN \ | |
244 PARAM_VALUE (PARAM_ASAN_MEMINTRIN) | |
245 #define ASAN_USE_AFTER_RETURN \ | |
246 PARAM_VALUE (PARAM_ASAN_USE_AFTER_RETURN) | |
247 #define ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD \ | |
248 PARAM_VALUE (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD) | |
249 #define ASAN_PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD \ | |
250 ((unsigned) PARAM_VALUE (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD)) | |
251 | |
0 | 252 #endif /* ! GCC_PARAMS_H */ |