Skip to content

Commit 1641866

Browse files
committed
[Docs] Regenerate the command line option reference.
llvm-svn: 318672
1 parent 00ab6fb commit 1641866

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

clang/docs/ClangCommandLineReference.rst

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,10 @@ Serialize compiler diagnostics to a file
524524

525525
.. option:: -shared, --shared
526526

527-
.. option:: -shared-libasan
528-
529527
.. option:: -shared-libgcc
530528

529+
.. option:: -shared-libsan, -shared-libasan
530+
531531
.. option:: -single\_module
532532

533533
.. option:: -specs=<arg>, --specs=<arg>
@@ -536,6 +536,8 @@ Serialize compiler diagnostics to a file
536536

537537
.. option:: -static-libgcc
538538

539+
.. option:: -static-libsan
540+
539541
.. option:: -static-libstdc++
540542

541543
.. option:: -std-default=<arg>
@@ -588,6 +590,8 @@ Verify the binary representation of debug output
588590

589591
.. option:: --version
590592

593+
Print version information
594+
591595
.. option:: -w, --no-warnings
592596

593597
Suppress all warnings
@@ -702,6 +706,10 @@ Print source range spans in numeric form
702706

703707
Enables an experimental new pass manager in LLVM.
704708

709+
.. option:: -ffine-grained-bitfield-accesses, -fno-fine-grained-bitfield-accesses
710+
711+
Use separate accesses for bitfields with legal widths and alignments.
712+
705713
.. option:: -finline-functions, -fno-inline-functions
706714

707715
Inline suitable functions
@@ -742,7 +750,7 @@ Enable control flow integrity (CFI) checks for cross-DSO calls.
742750

743751
.. option:: -fsanitize-cfi-icall-generalize-pointers
744752

745-
Generalize pointers in function type signatures used for Control Flow Integrity (CFI) indirect call checking
753+
Generalize pointers in CFI indirect call type signature checks
746754

747755
.. option:: -fsanitize-coverage=<arg1>,<arg2>..., -fno-sanitize-coverage=<arg1>,<arg2>...
748756

@@ -760,7 +768,7 @@ Enable origins tracking in MemorySanitizer
760768

761769
Enable origins tracking in MemorySanitizer
762770

763-
.. option:: -fsanitize-memory-use-after-dtor
771+
.. option:: -fsanitize-memory-use-after-dtor, -fno-sanitize-memory-use-after-dtor
764772

765773
Enable use-after-destroy detection in MemorySanitizer
766774

@@ -1267,6 +1275,10 @@ Print a template comparison tree for differing templates
12671275

12681276
Allow '$' in identifiers
12691277

1278+
.. option:: -fdouble-square-bracket-attributes, -fno-double-square-bracket-attributes
1279+
1280+
Enable '\[\[\]\]' attributes in all C and C++ language modes
1281+
12701282
.. option:: -fdwarf-directory-asm, -fno-dwarf-directory-asm
12711283

12721284
.. option:: -felide-constructors, -fno-elide-constructors
@@ -1349,6 +1361,10 @@ Implicitly search the file system for module map files.
13491361

13501362
Generate calls to instrument function entry and exit
13511363

1364+
.. option:: -finstrument-functions-after-inlining
1365+
1366+
Like -finstrument-functions, but insert the calls after inlining
1367+
13521368
.. option:: -fintegrated-as, -fno-integrated-as, -integrated-as
13531369

13541370
Enable the integrated assembler
@@ -1561,6 +1577,10 @@ Override the default ABI to return all structs on the stack
15611577

15621578
.. option:: -fpie, -fno-pie
15631579

1580+
.. option:: -fplt, -fno-plt
1581+
1582+
Use the PLT to make function calls
1583+
15641584
.. option:: -fplugin=<dsopath>
15651585

15661586
Load the named plugin (dynamic shared object)
@@ -2166,6 +2186,10 @@ Generate code which only uses the general purpose registers (AArch64 only)
21662186

21672187
AMDGPU
21682188
------
2189+
.. option:: -mxnack, -mno-xnack
2190+
2191+
Enable XNACK (AMDGPU only)
2192+
21692193
ARM
21702194
---
21712195
.. option:: -ffixed-r9
@@ -2196,10 +2220,18 @@ Disallow use of CRC instructions (ARM only)
21962220

21972221
Disallow generation of deprecated IT blocks for ARMv8. It is on by default for ARMv8 Thumb mode.
21982222

2223+
.. option:: -mtp=<arg>
2224+
2225+
Read thread pointer from coprocessor register (ARM only)
2226+
21992227
.. option:: -munaligned-access, -mno-unaligned-access
22002228

22012229
Allow memory accesses to be unaligned (AArch32/AArch64 only)
22022230

2231+
Hexagon
2232+
-------
2233+
.. option:: -mieee-rnd-near
2234+
22032235
Hexagon
22042236
-------
22052237
.. option:: -mhvx, -mno-hvx
@@ -2210,7 +2242,15 @@ Enable Hexagon Vector eXtensions
22102242

22112243
Enable Hexagon Double Vector eXtensions
22122244

2213-
.. option:: -mieee-rnd-near
2245+
.. option:: -mhvx-length=<arg>
2246+
2247+
Set Hexagon Vector Length
2248+
2249+
.. program:: clang1
2250+
.. option:: -mhvx=<arg>
2251+
.. program:: clang
2252+
2253+
Enable Hexagon Vector eXtensions
22142254

22152255
PowerPC
22162256
-------

0 commit comments

Comments
 (0)