comparison gcc/flag-types.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Compilation switch flag type definitions for GCC. 1 /* Compilation switch flag type definitions for GCC.
2 Copyright (C) 1987-2017 Free Software Foundation, Inc. 2 Copyright (C) 1987-2018 Free Software Foundation, Inc.
3 3
4 This file is part of GCC. 4 This file is part of GCC.
5 5
6 GCC is free software; you can redistribute it and/or modify it under 6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free 7 the terms of the GNU General Public License as published by the Free
22 22
23 enum debug_info_type 23 enum debug_info_type
24 { 24 {
25 NO_DEBUG, /* Write no debug info. */ 25 NO_DEBUG, /* Write no debug info. */
26 DBX_DEBUG, /* Write BSD .stabs for DBX (using dbxout.c). */ 26 DBX_DEBUG, /* Write BSD .stabs for DBX (using dbxout.c). */
27 SDB_DEBUG, /* Write COFF for (old) SDB (using sdbout.c). */
28 DWARF2_DEBUG, /* Write Dwarf v2 debug info (using dwarf2out.c). */ 27 DWARF2_DEBUG, /* Write Dwarf v2 debug info (using dwarf2out.c). */
29 XCOFF_DEBUG, /* Write IBM/Xcoff debug info (using dbxout.c). */ 28 XCOFF_DEBUG, /* Write IBM/Xcoff debug info (using dbxout.c). */
30 VMS_DEBUG, /* Write VMS debug info (using vmsdbgout.c). */ 29 VMS_DEBUG, /* Write VMS debug info (using vmsdbgout.c). */
31 VMS_AND_DWARF2_DEBUG /* Write VMS debug info (using vmsdbgout.c). 30 VMS_AND_DWARF2_DEBUG /* Write VMS debug info (using vmsdbgout.c).
32 and DWARF v2 debug info (using dwarf2out.c). */ 31 and DWARF v2 debug info (using dwarf2out.c). */
245 SANITIZE_OBJECT_SIZE = 1UL << 21, 244 SANITIZE_OBJECT_SIZE = 1UL << 21,
246 SANITIZE_VPTR = 1UL << 22, 245 SANITIZE_VPTR = 1UL << 22,
247 SANITIZE_BOUNDS_STRICT = 1UL << 23, 246 SANITIZE_BOUNDS_STRICT = 1UL << 23,
248 SANITIZE_POINTER_OVERFLOW = 1UL << 24, 247 SANITIZE_POINTER_OVERFLOW = 1UL << 24,
249 SANITIZE_BUILTIN = 1UL << 25, 248 SANITIZE_BUILTIN = 1UL << 25,
249 SANITIZE_POINTER_COMPARE = 1UL << 26,
250 SANITIZE_POINTER_SUBTRACT = 1UL << 27,
250 SANITIZE_SHIFT = SANITIZE_SHIFT_BASE | SANITIZE_SHIFT_EXPONENT, 251 SANITIZE_SHIFT = SANITIZE_SHIFT_BASE | SANITIZE_SHIFT_EXPONENT,
251 SANITIZE_UNDEFINED = SANITIZE_SHIFT | SANITIZE_DIVIDE | SANITIZE_UNREACHABLE 252 SANITIZE_UNDEFINED = SANITIZE_SHIFT | SANITIZE_DIVIDE | SANITIZE_UNREACHABLE
252 | SANITIZE_VLA | SANITIZE_NULL | SANITIZE_RETURN 253 | SANITIZE_VLA | SANITIZE_NULL | SANITIZE_RETURN
253 | SANITIZE_SI_OVERFLOW | SANITIZE_BOOL | SANITIZE_ENUM 254 | SANITIZE_SI_OVERFLOW | SANITIZE_BOOL | SANITIZE_ENUM
254 | SANITIZE_BOUNDS | SANITIZE_ALIGNMENT 255 | SANITIZE_BOUNDS | SANITIZE_ALIGNMENT
258 | SANITIZE_POINTER_OVERFLOW | SANITIZE_BUILTIN, 259 | SANITIZE_POINTER_OVERFLOW | SANITIZE_BUILTIN,
259 SANITIZE_UNDEFINED_NONDEFAULT = SANITIZE_FLOAT_DIVIDE | SANITIZE_FLOAT_CAST 260 SANITIZE_UNDEFINED_NONDEFAULT = SANITIZE_FLOAT_DIVIDE | SANITIZE_FLOAT_CAST
260 | SANITIZE_BOUNDS_STRICT 261 | SANITIZE_BOUNDS_STRICT
261 }; 262 };
262 263
264 /* Settings of flag_incremental_link. */
265 enum incremental_link {
266 INCREMENTAL_LINK_NONE,
267 /* Do incremental linking and produce binary. */
268 INCREMENTAL_LINK_NOLTO,
269 /* Do incremental linking and produce IL. */
270 INCREMENTAL_LINK_LTO
271 };
272
263 /* Different trace modes. */ 273 /* Different trace modes. */
264 enum sanitize_coverage_code { 274 enum sanitize_coverage_code {
265 /* Trace PC. */ 275 /* Trace PC. */
266 SANITIZE_COV_TRACE_PC = 1 << 0, 276 SANITIZE_COV_TRACE_PC = 1 << 0,
267 /* Trace Comparison. */ 277 /* Trace Comparison. */
286 296
287 /* flag_lto_linker_output initialization values. */ 297 /* flag_lto_linker_output initialization values. */
288 enum lto_linker_output { 298 enum lto_linker_output {
289 LTO_LINKER_OUTPUT_UNKNOWN, 299 LTO_LINKER_OUTPUT_UNKNOWN,
290 LTO_LINKER_OUTPUT_REL, 300 LTO_LINKER_OUTPUT_REL,
301 LTO_LINKER_OUTPUT_NOLTOREL,
291 LTO_LINKER_OUTPUT_DYN, 302 LTO_LINKER_OUTPUT_DYN,
292 LTO_LINKER_OUTPUT_PIE, 303 LTO_LINKER_OUTPUT_PIE,
293 LTO_LINKER_OUTPUT_EXEC 304 LTO_LINKER_OUTPUT_EXEC
294 }; 305 };
295 306