mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
zig cc: update clang command line options to LLVM 12 rc2
This commit is contained in:
parent
659f712ae8
commit
3519b74c06
@ -2,7 +2,6 @@
|
||||
// zig fmt: off
|
||||
usingnamespace @import("clang_options.zig");
|
||||
pub const data = blk: { @setEvalBranchQuota(6000); break :blk &[_]CliArg{
|
||||
flagpd1("faapcs-bitfield-width"),
|
||||
flagpd1("C"),
|
||||
flagpd1("CC"),
|
||||
.{
|
||||
@ -17,7 +16,6 @@ flagpd1("EB"),
|
||||
flagpd1("EL"),
|
||||
flagpd1("Eonly"),
|
||||
flagpd1("faapcs-bitfield-load"),
|
||||
flagpd1("fno-aapcs-bitfield-width"),
|
||||
flagpd1("H"),
|
||||
.{
|
||||
.name = "<input>",
|
||||
@ -1029,14 +1027,6 @@ flagpsl("MT"),
|
||||
.pd2 = false,
|
||||
.psl = true,
|
||||
},
|
||||
.{
|
||||
.name = "Zd",
|
||||
.syntax = .flag,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = true,
|
||||
.pd2 = false,
|
||||
.psl = true,
|
||||
},
|
||||
.{
|
||||
.name = "Ze",
|
||||
.syntax = .flag,
|
||||
@ -2076,28 +2066,6 @@ flagpd1("analyzer-werror"),
|
||||
flagpd1("fslp-vectorize-aggressive"),
|
||||
flagpd1("fno-slp-vectorize-aggressive"),
|
||||
flagpd1("shared-libasan"),
|
||||
flagpd1("grecord-gcc-switches"),
|
||||
flagpd1("gno-record-gcc-switches"),
|
||||
flagpd1("nocudainc"),
|
||||
flagpd1("nocudalib"),
|
||||
.{
|
||||
.name = "system-header-prefix",
|
||||
.syntax = .separate,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
.{
|
||||
.name = "no-system-header-prefix",
|
||||
.syntax = .separate,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
flagpd1("integrated-as"),
|
||||
flagpd1("no-integrated-as"),
|
||||
.{
|
||||
.name = "Gs",
|
||||
.syntax = .flag,
|
||||
@ -2220,6 +2188,8 @@ flagpd1("no-integrated-as"),
|
||||
},
|
||||
flagpd1("frecord-gcc-switches"),
|
||||
flagpd1("fno-record-gcc-switches"),
|
||||
flagpd1("fident"),
|
||||
flagpd1("fno-ident"),
|
||||
flagpd1("fexpensive-optimizations"),
|
||||
flagpd1("fno-expensive-optimizations"),
|
||||
flagpd1("fdefer-pop"),
|
||||
@ -2228,11 +2198,9 @@ flagpd1("fextended-identifiers"),
|
||||
flagpd1("fno-extended-identifiers"),
|
||||
flagpd1("fhonor-infinites"),
|
||||
flagpd1("fno-honor-infinites"),
|
||||
flagpd1("fident"),
|
||||
flagpd1("fno-ident"),
|
||||
flagpd1("findirect-virtual-calls"),
|
||||
flagpd1("fcuda-rdc"),
|
||||
flagpd1("fno-cuda-rdc"),
|
||||
flagpd1("findirect-virtual-calls"),
|
||||
sepd1("fnew-alignment"),
|
||||
flagpd1("faligned-new"),
|
||||
flagpd1("fno-aligned-new"),
|
||||
@ -2242,6 +2210,28 @@ flagpd1("fno-tree-vectorize"),
|
||||
flagpd1("ftree-slp-vectorize"),
|
||||
flagpd1("fno-tree-slp-vectorize"),
|
||||
flagpd1("fterminated-vtables"),
|
||||
flagpd1("grecord-gcc-switches"),
|
||||
flagpd1("gno-record-gcc-switches"),
|
||||
flagpd1("nocudainc"),
|
||||
flagpd1("nocudalib"),
|
||||
.{
|
||||
.name = "system-header-prefix",
|
||||
.syntax = .separate,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
.{
|
||||
.name = "no-system-header-prefix",
|
||||
.syntax = .separate,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
flagpd1("integrated-as"),
|
||||
flagpd1("no-integrated-as"),
|
||||
.{
|
||||
.name = "ansi",
|
||||
.syntax = .flag,
|
||||
@ -2468,6 +2458,7 @@ sepd1("exported_symbols_list"),
|
||||
.pd2 = false,
|
||||
.psl = false,
|
||||
},
|
||||
flagpd1("faapcs-bitfield-width"),
|
||||
flagpd1("faccess-control"),
|
||||
flagpd1("faddrsig"),
|
||||
flagpd1("faggressive-function-elimination"),
|
||||
@ -2592,6 +2583,7 @@ flagpd1("fdiagnostics-show-note-include-stack"),
|
||||
flagpd1("fdiagnostics-show-option"),
|
||||
flagpd1("fdiagnostics-show-template-tree"),
|
||||
flagpd1("fdigraphs"),
|
||||
flagpd1("fdirect-access-external-data"),
|
||||
flagpd1("fdisable-module-hash"),
|
||||
flagpd1("fdiscard-value-names"),
|
||||
flagpd1("fdollar-ok"),
|
||||
@ -2632,6 +2624,7 @@ flagpd1("ffast-math"),
|
||||
flagpd1("ffat-lto-objects"),
|
||||
flagpd1("fcheck-new"),
|
||||
flagpd1("ffine-grained-bitfield-accesses"),
|
||||
flagpd1("ffinite-loops"),
|
||||
flagpd1("ffinite-math-only"),
|
||||
flagpd1("finline-limit"),
|
||||
flagpd1("ffixed-form"),
|
||||
@ -2695,6 +2688,7 @@ flagpd1("fgpu-allow-device-init"),
|
||||
flagpd1("fgpu-defer-diag"),
|
||||
flagpd1("fgpu-exclude-wrong-side-overloads"),
|
||||
flagpd1("fgpu-rdc"),
|
||||
flagpd1("fhalf-no-semantic-interposition"),
|
||||
flagpd1("fheinous-gnu-extensions"),
|
||||
flagpd1("fhip-dump-offload-linker-script"),
|
||||
flagpd1("fhip-new-launch-api"),
|
||||
@ -2802,6 +2796,7 @@ flagpd1("fnext-runtime"),
|
||||
.pd2 = false,
|
||||
.psl = false,
|
||||
},
|
||||
flagpd1("fno-aapcs-bitfield-width"),
|
||||
flagpd1("fno-access-control"),
|
||||
flagpd1("fno-addrsig"),
|
||||
flagpd1("fno-aggressive-function-elimination"),
|
||||
@ -2880,6 +2875,7 @@ flagpd1("fno-diagnostics-show-note-include-stack"),
|
||||
flagpd1("fno-diagnostics-show-option"),
|
||||
flagpd1("fno-diagnostics-use-presumed-location"),
|
||||
flagpd1("fno-digraphs"),
|
||||
flagpd1("fno-direct-access-external-data"),
|
||||
flagpd1("fno-discard-value-names"),
|
||||
flagpd1("fno-dllexport-inlines"),
|
||||
flagpd1("fno-dollar-ok"),
|
||||
@ -2906,6 +2902,7 @@ flagpd1("fno-fast-math"),
|
||||
flagpd1("fno-fat-lto-objects"),
|
||||
flagpd1("fno-check-new"),
|
||||
flagpd1("fno-fine-grained-bitfield-accesses"),
|
||||
flagpd1("fno-finite-loops"),
|
||||
flagpd1("fno-finite-math-only"),
|
||||
flagpd1("fno-inline-limit"),
|
||||
flagpd1("fno-fixed-form"),
|
||||
@ -3168,6 +3165,7 @@ flagpd1("fno-whole-program"),
|
||||
flagpd1("fno-whole-program-vtables"),
|
||||
flagpd1("fno-working-directory"),
|
||||
flagpd1("fno-wrapv"),
|
||||
flagpd1("fno-xl-pragma-pack"),
|
||||
flagpd1("fno-xray-always-emit-customevents"),
|
||||
flagpd1("fno-xray-always-emit-typedevents"),
|
||||
flagpd1("fno-xray-function-index"),
|
||||
@ -3431,6 +3429,7 @@ flagpd1("fwhole-program"),
|
||||
flagpd1("fwhole-program-vtables"),
|
||||
flagpd1("fwrapv"),
|
||||
flagpd1("fwritable-strings"),
|
||||
flagpd1("fxl-pragma-pack"),
|
||||
flagpd1("fxray-always-emit-customevents"),
|
||||
flagpd1("fxray-always-emit-typedevents"),
|
||||
flagpd1("fxray-function-index"),
|
||||
@ -3463,6 +3462,8 @@ flagpd1("gcodeview"),
|
||||
flagpd1("gcodeview-ghash"),
|
||||
flagpd1("gcolumn-info"),
|
||||
flagpd1("gdwarf"),
|
||||
flagpd1("gdwarf32"),
|
||||
flagpd1("gdwarf64"),
|
||||
flagpd1("gdwarf-2"),
|
||||
flagpd1("gdwarf-3"),
|
||||
flagpd1("gdwarf-4"),
|
||||
@ -3618,6 +3619,7 @@ flagpd1("mdouble-float"),
|
||||
flagpd1("mdsp"),
|
||||
flagpd1("mdspr2"),
|
||||
sepd1("meabi"),
|
||||
flagpd1("mefpu2"),
|
||||
flagpd1("membedded-data"),
|
||||
flagpd1("menable-experimental-extensions"),
|
||||
flagpd1("menable-no-infs"),
|
||||
@ -4620,6 +4622,14 @@ joinpd1("fopenmp-cuda-blocks-per-sm="),
|
||||
joinpd1("fsanitize-system-blacklist="),
|
||||
jspd1("fxray-instruction-threshold"),
|
||||
joinpd1("headerpad_max_install_names"),
|
||||
.{
|
||||
.name = "libomptarget-nvptx-bc-path=",
|
||||
.syntax = .joined,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
joinpd1("mios-simulator-version-min="),
|
||||
joinpd1("mstack-protector-guard-reg="),
|
||||
.{
|
||||
@ -4694,14 +4704,6 @@ joinpd1("fsanitize-hwaddress-abi="),
|
||||
joinpd1("ftime-trace-granularity="),
|
||||
jspd1("fxray-always-instrument="),
|
||||
jspd1("internal-externc-isystem"),
|
||||
.{
|
||||
.name = "libomptarget-nvptx-path=",
|
||||
.syntax = .joined,
|
||||
.zig_equivalent = .other,
|
||||
.pd1 = false,
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
.{
|
||||
.name = "no-system-header-prefix=",
|
||||
.syntax = .joined,
|
||||
@ -4816,6 +4818,7 @@ joinpd1("fmax-stack-var-size="),
|
||||
joinpd1("fmodules-cache-path="),
|
||||
joinpd1("fmodules-embed-file="),
|
||||
joinpd1("fprofile-instrument="),
|
||||
joinpd1("fprofile-prefix-map="),
|
||||
joinpd1("fprofile-sample-use="),
|
||||
joinpd1("fsanitize-blacklist="),
|
||||
joinpd1("mmacosx-version-min="),
|
||||
@ -4888,6 +4891,7 @@ joinpd1("target-sdk-version="),
|
||||
.pd2 = true,
|
||||
.psl = false,
|
||||
},
|
||||
joinpd1("fbinutils-version="),
|
||||
joinpd1("fclang-abi-compat="),
|
||||
joinpd1("fcompile-resource="),
|
||||
joinpd1("fdebug-prefix-map="),
|
||||
@ -5130,6 +5134,7 @@ joinpd1("finit-integer="),
|
||||
joinpd1("finit-logical="),
|
||||
joinpd1("finline-limit="),
|
||||
joinpd1("fobjc-runtime="),
|
||||
joinpd1("fprofile-list="),
|
||||
.{
|
||||
.name = "gcc-toolchain=",
|
||||
.syntax = .joined,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user