aboutsummaryrefslogtreecommitdiff
path: root/src/clang_options_data.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/clang_options_data.zig')
-rw-r--r--src/clang_options_data.zig45
1 files changed, 40 insertions, 5 deletions
diff --git a/src/clang_options_data.zig b/src/clang_options_data.zig
index 76e687c7d6..90ba377847 100644
--- a/src/clang_options_data.zig
+++ b/src/clang_options_data.zig
@@ -3290,7 +3290,14 @@ flagpd1("fno-stack-arrays"),
.psl = false,
},
flagpd1("fno-stack-clash-protection"),
-flagpd1("fno-stack-protector"),
+.{
+ .name = "fno-stack-protector",
+ .syntax = .flag,
+ .zig_equivalent = .no_stack_protector,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
flagpd1("fno-stack-size-section"),
flagpd1("fno-standalone-debug"),
flagpd1("fno-strength-reduce"),
@@ -3588,9 +3595,30 @@ flagpd1("fstack-arrays"),
.psl = false,
},
flagpd1("fstack-clash-protection"),
-flagpd1("fstack-protector"),
-flagpd1("fstack-protector-all"),
-flagpd1("fstack-protector-strong"),
+.{
+ .name = "fstack-protector",
+ .syntax = .flag,
+ .zig_equivalent = .stack_protector,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
+.{
+ .name = "fstack-protector-all",
+ .syntax = .flag,
+ .zig_equivalent = .stack_protector,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
+.{
+ .name = "fstack-protector-strong",
+ .syntax = .flag,
+ .zig_equivalent = .stack_protector,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
flagpd1("fstack-size-section"),
flagpd1("fstack-usage"),
flagpd1("fstandalone-debug"),
@@ -4809,7 +4837,14 @@ flagpd1("single_module"),
},
sepd1("split-dwarf-file"),
sepd1("split-dwarf-output"),
-sepd1("stack-protector"),
+.{
+ .name = "stack-protector",
+ .syntax = .separate,
+ .zig_equivalent = .stack_protector,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
sepd1("stack-protector-buffer-size"),
sepd1("stack-usage-file"),
.{