Skip to content

Commit 20dd334

Browse files
committed
[Docs] Regenerate the command line option reference.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308641 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 98456c3 commit 20dd334

File tree

1 file changed

+48
-6
lines changed

1 file changed

+48
-6
lines changed

docs/ClangCommandLineReference.rst

+48-6
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ Emit ARC errors even if the migrator can fix them
9696

9797
Output path for the plist report
9898

99+
.. option:: --autocomplete=<arg>
100+
99101
.. option:: -bind\_at\_load
100102

101103
.. option:: -bundle
@@ -292,7 +294,7 @@ Disable builtin #include directories
292294

293295
.. option:: -nomultidefs
294296

295-
.. option:: -nopie
297+
.. option:: -nopie, -no-pie
296298

297299
.. option:: -noprebind
298300

@@ -704,6 +706,10 @@ Don't use blacklist file for sanitizers
704706

705707
Level of field padding for AddressSanitizer
706708

709+
.. option:: -fsanitize-address-globals-dead-stripping
710+
711+
Enable linker dead stripping of globals in AddressSanitizer
712+
707713
.. option:: -fsanitize-address-use-after-scope, -fno-sanitize-address-use-after-scope
708714

709715
Enable use-after-scope detection in AddressSanitizer
@@ -1071,6 +1077,10 @@ Target-independent compilation options
10711077

10721078
Enable C++17 aligned allocation functions
10731079

1080+
.. option:: -fallow-editor-placeholders, -fno-allow-editor-placeholders
1081+
1082+
Treat editor placeholders as valid source code
1083+
10741084
.. option:: -fallow-unsupported
10751085

10761086
.. option:: -faltivec, -fno-altivec
@@ -1205,6 +1215,10 @@ Print absolute paths in diagnostics
12051215
.. option:: -fdiagnostics-color=<arg>
12061216
.. program:: clang
12071217

1218+
.. option:: -fdiagnostics-hotness-threshold=<number>
1219+
1220+
Prevent optimization remarks from being output if they do not have at least this profile count
1221+
12081222
.. option:: -fdiagnostics-show-hotness, -fno-diagnostics-show-hotness
12091223

12101224
Enable profile hotness information in diagnostic line
@@ -1585,6 +1599,8 @@ Turn on loop reroller
15851599

15861600
.. option:: -fretain-comments-from-system-headers
15871601

1602+
.. option:: -frewrite-imports, -fno-rewrite-imports
1603+
15881604
.. option:: -frewrite-includes, -fno-rewrite-includes
15891605

15901606
.. option:: -frewrite-map-file <arg>
@@ -1639,10 +1655,6 @@ Use SjLj style exceptions
16391655

16401656
Enable the superword-level parallelism vectorization passes
16411657

1642-
.. option:: -fslp-vectorize-aggressive, -fno-slp-vectorize-aggressive
1643-
1644-
Enable the BB vectorization passes
1645-
16461658
.. option:: -fspell-checking, -fno-spell-checking
16471659

16481660
.. option:: -fspell-checking-limit=<arg>
@@ -1911,6 +1923,8 @@ Link stack frames through backchain on System Z
19111923

19121924
.. option:: -mcpu=<arg>, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60), -mv62 (equivalent to -mcpu=hexagonv62)
19131925

1926+
.. option:: -mdefault-build-attributes<arg>, -mno-default-build-attributes<arg>
1927+
19141928
.. option:: -mdll<arg>
19151929

19161930
.. option:: -mdouble-float
@@ -1947,6 +1961,10 @@ Use 64-bit floating point registers (MIPS only)
19471961

19481962
Enable merging of globals
19491963

1964+
.. option:: -mgpopt, -mno-gpopt
1965+
1966+
Use GP relative accesses for symbols known to be in a small data section (MIPS)
1967+
19501968
.. option:: -mhard-float
19511969

19521970
.. option:: -mhwdiv=<arg>, --mhwdiv <arg>, --mhwdiv=<arg>
@@ -1975,10 +1993,16 @@ Use Intel MCU ABI
19751993

19761994
Generate branches with extended addressability, usually via indirect jumps.
19771995

1978-
.. option:: -mmacosx-version-min=<arg>
1996+
.. option:: -mmacosx-version-min=<arg>, -mmacos-version-min=<arg>
19791997

19801998
Set Mac OS X deployment target
19811999

2000+
.. option:: -mmadd4, -mno-madd4
2001+
2002+
Enable the generation of 4-operand madd.s, madd.d and related instructions.
2003+
2004+
.. option:: -mmcu=<arg>
2005+
19822006
.. option:: -mmicromips, -mno-micromips
19832007

19842008
.. option:: -mms-bitfields, -mno-ms-bitfields
@@ -1989,6 +2013,10 @@ Set the default structure layout to be compatible with the Microsoft compiler st
19892013

19902014
Enable MSA ASE (MIPS only)
19912015

2016+
.. option:: -mmt, -mno-mt
2017+
2018+
Enable MT ASE (MIPS only)
2019+
19922020
.. option:: -mnan=<arg>
19932021

19942022
.. option:: -mno-mips16
@@ -2203,6 +2231,8 @@ X86
22032231

22042232
.. option:: -mavx512vl, -mno-avx512vl
22052233

2234+
.. option:: -mavx512vpopcntdq, -mno-avx512vpopcntdq
2235+
22062236
.. option:: -mbmi, -mno-bmi
22072237

22082238
.. option:: -mbmi2, -mno-bmi2
@@ -2225,6 +2255,8 @@ X86
22252255

22262256
.. option:: -mfxsr, -mno-fxsr
22272257

2258+
.. option:: -mlwp, -mno-lwp
2259+
22282260
.. option:: -mlzcnt, -mno-lzcnt
22292261

22302262
.. option:: -mmmx, -mno-mmx
@@ -2372,6 +2404,16 @@ Debug information flags
23722404

23732405
.. option:: -gstrict-dwarf, -gno-strict-dwarf
23742406

2407+
.. option:: -gz
2408+
2409+
DWARF debug sections compression type
2410+
2411+
.. program:: clang1
2412+
.. option:: -gz=<arg>
2413+
.. program:: clang
2414+
2415+
DWARF debug sections compression type
2416+
23752417
Static analyzer flags
23762418
=====================
23772419

0 commit comments

Comments
 (0)