mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 03:16:05 +03:00
Hide 4 new LLVM 6 cmdline options
-cost-kind, -import-all-index, -print-module-scope and -stack-size-section.
This commit is contained in:
parent
ca14bc972a
commit
b64da9f056
1 changed files with 22 additions and 21 deletions
|
@ -530,9 +530,9 @@ void hideLLVMOptions() {
|
|||
static const char *const hiddenOptions[] = {
|
||||
"aarch64-neon-syntax", "arm-add-build-attributes", "arm-implicit-it",
|
||||
"asm-instrumentation", "asm-show-inst", "atomic-counter-update-promoted",
|
||||
"bounds-checking-single-trap", "code-model", "cppfname", "cppfor",
|
||||
"cppgen", "cvp-dont-process-adds", "debug-counter", "debugger-tune",
|
||||
"denormal-fp-math", "disable-debug-info-verifier",
|
||||
"bounds-checking-single-trap", "code-model", "cost-kind", "cppfname",
|
||||
"cppfor", "cppgen", "cvp-dont-process-adds", "debug-counter",
|
||||
"debugger-tune", "denormal-fp-math", "disable-debug-info-verifier",
|
||||
"disable-objc-arc-checkforcfghazards", "disable-spill-fusing",
|
||||
"do-counter-promotion", "emulated-tls", "enable-correct-eh-support",
|
||||
"enable-fp-mad", "enable-implicit-null-checks", "enable-load-pre",
|
||||
|
@ -544,13 +544,13 @@ void hideLLVMOptions() {
|
|||
"exhaustive-register-search", "expensive-combines",
|
||||
"fatal-assembler-warnings", "filter-print-funcs", "gpsize",
|
||||
"imp-null-check-page-size", "imp-null-max-insts-to-consider",
|
||||
"incremental-linker-compatible", "instcombine-maxarray-size",
|
||||
"internalize-public-api-file", "internalize-public-api-list",
|
||||
"iterative-counter-promotion", "join-liveintervals", "jump-table-type",
|
||||
"limit-float-precision", "max-counter-promotions",
|
||||
"max-counter-promotions-per-loop", "mc-relax-all",
|
||||
"mc-x86-disable-arith-relaxation", "meabi", "memop-size-large",
|
||||
"memop-size-range", "merror-missing-parenthesis",
|
||||
"import-all-index", "incremental-linker-compatible",
|
||||
"instcombine-maxarray-size", "internalize-public-api-file",
|
||||
"internalize-public-api-list", "iterative-counter-promotion",
|
||||
"join-liveintervals", "jump-table-type", "limit-float-precision",
|
||||
"max-counter-promotions", "max-counter-promotions-per-loop",
|
||||
"mc-relax-all", "mc-x86-disable-arith-relaxation", "meabi",
|
||||
"memop-size-large", "memop-size-range", "merror-missing-parenthesis",
|
||||
"merror-noncontigious-register", "mfuture-regs", "mips-compact-branches",
|
||||
"mips16-constant-islands", "mips16-hard-float", "mlsm", "mno-compound",
|
||||
"mno-fixup", "mno-ldc1-sdc1", "mno-pairing", "mwarn-missing-parenthesis",
|
||||
|
@ -559,7 +559,7 @@ void hideLLVMOptions() {
|
|||
"objc-arc-annotation-target-identifier", "pie-copy-relocations",
|
||||
"polly-dump-after", "polly-dump-after-file", "polly-dump-before",
|
||||
"polly-dump-before-file", "pre-RA-sched", "print-after-all",
|
||||
"print-before-all", "print-machineinstrs",
|
||||
"print-before-all", "print-machineinstrs", "print-module-scope",
|
||||
"profile-estimator-loop-weight", "profile-estimator-loop-weight",
|
||||
"profile-file", "profile-info-file", "profile-verifier-noassert",
|
||||
"r600-ir-structurize", "rdf-dump", "rdf-limit", "recip", "regalloc",
|
||||
|
@ -572,16 +572,17 @@ void hideLLVMOptions() {
|
|||
"speculative-counter-promotion-max-exiting",
|
||||
"speculative-counter-promotion-to-loop", "spiller", "spirv-debug",
|
||||
"spirv-erase-cl-md", "spirv-mem2reg", "spvbool-validate",
|
||||
"stack-alignment", "stack-symbol-ordering", "stackmap-version",
|
||||
"static-func-full-module-prefix", "static-func-strip-dirname-prefix",
|
||||
"stats", "stats-json", "strip-debug", "struct-path-tbaa", "summary-file",
|
||||
"tailcallopt", "thread-model", "time-passes",
|
||||
"unfold-element-atomic-memcpy-max-elements", "unique-section-names",
|
||||
"unit-at-a-time", "use-ctors", "verify-debug-info", "verify-dom-info",
|
||||
"verify-loop-info", "verify-loop-lcssa", "verify-machine-dom-info",
|
||||
"verify-regalloc", "verify-region-info", "verify-scev",
|
||||
"verify-scev-maps", "vp-counters-per-site", "vp-static-alloc",
|
||||
"x86-early-ifcvt", "x86-recip-refinement-steps", "x86-use-vzeroupper",
|
||||
"stack-alignment", "stack-size-section", "stack-symbol-ordering",
|
||||
"stackmap-version", "static-func-full-module-prefix",
|
||||
"static-func-strip-dirname-prefix", "stats", "stats-json", "strip-debug",
|
||||
"struct-path-tbaa", "summary-file", "tailcallopt", "thread-model",
|
||||
"time-passes", "unfold-element-atomic-memcpy-max-elements",
|
||||
"unique-section-names", "unit-at-a-time", "use-ctors",
|
||||
"verify-debug-info", "verify-dom-info", "verify-loop-info",
|
||||
"verify-loop-lcssa", "verify-machine-dom-info", "verify-regalloc",
|
||||
"verify-region-info", "verify-scev", "verify-scev-maps",
|
||||
"vp-counters-per-site", "vp-static-alloc", "x86-early-ifcvt",
|
||||
"x86-recip-refinement-steps", "x86-use-vzeroupper",
|
||||
|
||||
// We enable -fdata-sections/-ffunction-sections by default where it makes
|
||||
// sense for reducing code size, so hide them to avoid confusion.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue