| author | |
| committer | |
| log | d3648cc0305ee94e24dd4378376e204587bc6f51 |
| tree | 473ae60f5a798dad89d64094b37d06c5542915b8 |
| parent | d486a7b81188ea1e027334c81589157efde2ad23 |
3 files changed, 28 insertions(+), 2 deletions(-)
src/clang_options_data.zig+16-2| ... | @@ -3274,7 +3274,14 @@ flagpd1("fno-split-lto-unit"), | ... | @@ -3274,7 +3274,14 @@ flagpd1("fno-split-lto-unit"), |
| 3274 | flagpd1("fno-split-machine-functions"), | 3274 | flagpd1("fno-split-machine-functions"), |
| 3275 | flagpd1("fno-split-stack"), | 3275 | flagpd1("fno-split-stack"), |
| 3276 | flagpd1("fno-stack-arrays"), | 3276 | flagpd1("fno-stack-arrays"), |
| 3277 | flagpd1("fno-stack-check"), | 3277 | .{ |
| 3278 | .name = "fno-stack-check", | ||
| 3279 | .syntax = .flag, | ||
| 3280 | .zig_equivalent = .no_stack_check, | ||
| 3281 | .pd1 = true, | ||
| 3282 | .pd2 = false, | ||
| 3283 | .psl = false, | ||
| 3284 | }, | ||
| 3278 | flagpd1("fno-stack-clash-protection"), | 3285 | flagpd1("fno-stack-clash-protection"), |
| 3279 | flagpd1("fno-stack-protector"), | 3286 | flagpd1("fno-stack-protector"), |
| 3280 | flagpd1("fno-stack-size-section"), | 3287 | flagpd1("fno-stack-size-section"), |
| ... | @@ -3555,7 +3562,14 @@ flagpd1("fsplit-lto-unit"), | ... | @@ -3555,7 +3562,14 @@ flagpd1("fsplit-lto-unit"), |
| 3555 | flagpd1("fsplit-machine-functions"), | 3562 | flagpd1("fsplit-machine-functions"), |
| 3556 | flagpd1("fsplit-stack"), | 3563 | flagpd1("fsplit-stack"), |
| 3557 | flagpd1("fstack-arrays"), | 3564 | flagpd1("fstack-arrays"), |
| 3558 | flagpd1("fstack-check"), | 3565 | .{ |
| 3566 | .name = "fstack-check", | ||
| 3567 | .syntax = .flag, | ||
| 3568 | .zig_equivalent = .stack_check, | ||
| 3569 | .pd1 = true, | ||
| 3570 | .pd2 = false, | ||
| 3571 | .psl = false, | ||
| 3572 | }, | ||
| 3559 | flagpd1("fstack-clash-protection"), | 3573 | flagpd1("fstack-clash-protection"), |
| 3560 | flagpd1("fstack-protector"), | 3574 | flagpd1("fstack-protector"), |
| 3561 | flagpd1("fstack-protector-all"), | 3575 | flagpd1("fstack-protector-all"), |
src/main.zig+4| ... | @@ -1393,6 +1393,8 @@ fn buildOutputType( | ... | @@ -1393,6 +1393,8 @@ fn buildOutputType( |
| 1393 | .no_function_sections => function_sections = false, | 1393 | .no_function_sections => function_sections = false, |
| 1394 | .color_diagnostics => color = .on, | 1394 | .color_diagnostics => color = .on, |
| 1395 | .no_color_diagnostics => color = .off, | 1395 | .no_color_diagnostics => color = .off, |
| 1396 | .stack_check => want_stack_check = true, | ||
| 1397 | .no_stack_check => want_stack_check = false, | ||
| 1396 | .unwind_tables => want_unwind_tables = true, | 1398 | .unwind_tables => want_unwind_tables = true, |
| 1397 | .no_unwind_tables => want_unwind_tables = false, | 1399 | .no_unwind_tables => want_unwind_tables = false, |
| 1398 | .nostdlib => ensure_libc_on_non_freestanding = false, | 1400 | .nostdlib => ensure_libc_on_non_freestanding = false, |
| ... | @@ -4360,6 +4362,8 @@ pub const ClangArgIterator = struct { | ... | @@ -4360,6 +4362,8 @@ pub const ClangArgIterator = struct { |
| 4360 | no_function_sections, | 4362 | no_function_sections, |
| 4361 | color_diagnostics, | 4363 | color_diagnostics, |
| 4362 | no_color_diagnostics, | 4364 | no_color_diagnostics, |
| 4365 | stack_check, | ||
| 4366 | no_stack_check, | ||
| 4363 | strip, | 4367 | strip, |
| 4364 | exec_model, | 4368 | exec_model, |
| 4365 | emit_llvm, | 4369 | emit_llvm, |
tools/update_clang_options.zig+8| ... | @@ -332,6 +332,14 @@ const known_options = [_]KnownOpt{ | ... | @@ -332,6 +332,14 @@ const known_options = [_]KnownOpt{ |
| 332 | .name = "fno-caret-diagnostics", | 332 | .name = "fno-caret-diagnostics", |
| 333 | .ident = "no_color_diagnostics", | 333 | .ident = "no_color_diagnostics", |
| 334 | }, | 334 | }, |
| 335 | .{ | ||
| 336 | .name = "fstack-check", | ||
| 337 | .ident = "stack_check", | ||
| 338 | }, | ||
| 339 | .{ | ||
| 340 | .name = "fno-stack-check", | ||
| 341 | .ident = "no_stack_check", | ||
| 342 | }, | ||
| 335 | .{ | 343 | .{ |
| 336 | .name = "MD", | 344 | .name = "MD", |
| 337 | .ident = "dep_file", | 345 | .ident = "dep_file", |