| author | |
| committer | |
| log | 7cc417644862a9b9523545f4455da7722afc8209 |
| tree | 99866bef4b0a261f061b47bee127e3fa87f560f6 |
| parent | 59359b25474724018c14b8cb685837f4480c0de5 |
3 files changed, 14 insertions(+), 1 deletions(-)
src/clang_options_data.zig+8-1| ... | ... | @@ -4978,7 +4978,14 @@ joinpd1("fdiagnostics-show-category="), |
| 4978 | 4978 | joinpd1("fdiagnostics-show-location="), |
| 4979 | 4979 | joinpd1("fopenmp-cuda-blocks-per-sm="), |
| 4980 | 4980 | jspd1("fxray-instruction-threshold"), |
| 4981 | joinpd1("headerpad_max_install_names"), | |
| 4981 | .{ | |
| 4982 | .name = "headerpad_max_install_names", | |
| 4983 | .syntax = .joined, | |
| 4984 | .zig_equivalent = .headerpad_max_install_names, | |
| 4985 | .pd1 = true, | |
| 4986 | .pd2 = false, | |
| 4987 | .psl = false, | |
| 4988 | }, | |
| 4982 | 4989 | .{ |
| 4983 | 4990 | .name = "libomptarget-nvptx-bc-path=", |
| 4984 | 4991 | .syntax = .joined, |
src/main.zig+2| ... | ... | @@ -1627,6 +1627,7 @@ fn buildOutputType( |
| 1627 | 1627 | }, |
| 1628 | 1628 | .weak_library => try system_libs.put(it.only_arg, .{ .weak = true }), |
| 1629 | 1629 | .weak_framework => try frameworks.put(gpa, it.only_arg, .{ .weak = true }), |
| 1630 | .headerpad_max_install_names => headerpad_max_install_names = true, | |
| 1630 | 1631 | } |
| 1631 | 1632 | } |
| 1632 | 1633 | // Parse linker args. |
| ... | ... | @@ -4581,6 +4582,7 @@ pub const ClangArgIterator = struct { |
| 4581 | 4582 | entry, |
| 4582 | 4583 | weak_library, |
| 4583 | 4584 | weak_framework, |
| 4585 | headerpad_max_install_names, | |
| 4584 | 4586 | }; |
| 4585 | 4587 | |
| 4586 | 4588 | const Args = struct { |
tools/update_clang_options.zig+4| ... | ... | @@ -444,6 +444,10 @@ const known_options = [_]KnownOpt{ |
| 444 | 444 | .name = "weak_framework", |
| 445 | 445 | .ident = "weak_framework", |
| 446 | 446 | }, |
| 447 | .{ | |
| 448 | .name = "headerpad_max_install_names", | |
| 449 | .ident = "headerpad_max_install_names", | |
| 450 | }, | |
| 447 | 451 | }; |
| 448 | 452 | |
| 449 | 453 | const blacklisted_options = [_][]const u8{}; |