diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-17 18:42:39 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-19 03:41:13 -0700 |
| commit | c0b7f20893ea5ca42e0d02b59db6f459c2f80ca1 (patch) | |
| tree | 6fea31632a6d8803b0689081b7f16e74cf0660ff /tools | |
| parent | 2ccaa5414b904edb2f4af293291f5401d106f277 (diff) | |
| download | zig-c0b7f20893ea5ca42e0d02b59db6f459c2f80ca1.tar.gz zig-c0b7f20893ea5ca42e0d02b59db6f459c2f80ca1.zip | |
stage2: implement stack protectors
This is one of the final remaining TODOs for the LLVM backend.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/update_clang_options.zig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/update_clang_options.zig b/tools/update_clang_options.zig index d261b5ee33..f1656546f0 100644 --- a/tools/update_clang_options.zig +++ b/tools/update_clang_options.zig @@ -353,6 +353,26 @@ const known_options = [_]KnownOpt{ .ident = "no_stack_check", }, .{ + .name = "stack-protector", + .ident = "stack_protector", + }, + .{ + .name = "fstack-protector", + .ident = "stack_protector", + }, + .{ + .name = "fno-stack-protector", + .ident = "no_stack_protector", + }, + .{ + .name = "fstack-protector-strong", + .ident = "stack_protector", + }, + .{ + .name = "fstack-protector-all", + .ident = "stack_protector", + }, + .{ .name = "MD", .ident = "dep_file", }, |
