@@ -198,6 +198,10 @@ Specify comma-separated list of triples OpenMP offloading targets to be supporte
198
198
199
199
.. option :: -framework <arg >
200
200
201
+ .. option :: -frtlib-add-rpath , -fno-rtlib-add-rpath
202
+
203
+ Add -rpath with architecture-specific resource directory to the linker flags
204
+
201
205
.. option :: --gcc-toolchain= <arg >, -gcc-toolchain <arg >
202
206
203
207
Use the gcc toolchain at the given directory
@@ -238,6 +242,8 @@ Make the next included directory (-I or -F) an indexer header map
238
242
239
243
Run the migrator
240
244
245
+ .. option :: -mios-simulator-version-min= <arg >, -miphonesimulator-version-min= <arg >
246
+
241
247
.. option :: -mlinker-version= <arg >
242
248
243
249
.. option :: -mlittle-endian , -EL
@@ -250,6 +256,8 @@ Additional arguments to forward to LLVM's option processing
250
256
251
257
Directory to dump module dependencies to
252
258
259
+ .. option :: -mtvos-simulator-version-min= <arg >, -mappletvsimulator-version-min= <arg >
260
+
253
261
.. option :: -multi\_module
254
262
255
263
.. option :: -multiply\_defined <arg >
@@ -258,6 +266,8 @@ Directory to dump module dependencies to
258
266
.. option :: -multiply\_defined\_unused <arg >
259
267
.. program :: clang
260
268
269
+ .. option :: -mwatchos-simulator-version-min= <arg >, -mwatchsimulator-version-min= <arg >
270
+
261
271
.. option :: --no-cuda-version-check
262
272
263
273
Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture.
@@ -416,6 +426,10 @@ Print the library path for the currently used compiler runtime library ("libgcc.
416
426
417
427
Print the full program path of <name>
418
428
429
+ .. option :: -print-resource-dir , --print-resource-dir
430
+
431
+ Print the resource directory pathname
432
+
419
433
.. option :: -print-search-dirs , --print-search-dirs
420
434
421
435
Print the paths used for finding libraries and programs
@@ -678,6 +692,8 @@ Inline functions which are (explicitly or implicitly) marked inline
678
692
679
693
.. option :: -fno-crash-diagnostics
680
694
695
+ Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
696
+
681
697
.. option :: -fno-sanitize-blacklist
682
698
683
699
Don't use blacklist file for sanitizers
@@ -872,6 +888,10 @@ Add directory to AFTER include search path
872
888
873
889
Add directory to SYSTEM framework search path
874
890
891
+ .. option :: -iframeworkwithsysroot <directory >
892
+
893
+ Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot
894
+
875
895
.. option :: -imacros <file >, --imacros <file >, --imacros= <arg >
876
896
877
897
Include macros from file before parsing
@@ -1053,9 +1073,7 @@ Enable C++17 aligned allocation functions
1053
1073
1054
1074
.. option :: -fallow-unsupported
1055
1075
1056
- .. option :: -maltivec , -mno-altivec
1057
-
1058
- Enable AltiVec vector initializer syntax
1076
+ .. option :: -faltivec , -fno-altivec
1059
1077
1060
1078
.. option :: -fansi-escape-codes
1061
1079
@@ -1155,6 +1173,10 @@ Place each data in its own section (ELF Only)
1155
1173
1156
1174
Emit extra debug info to make sample profile more accurate.
1157
1175
1176
+ .. option :: -fdebug-macro , -fno-debug-macro
1177
+
1178
+ Emit macro debug information
1179
+
1158
1180
.. option :: -fdebug-pass-arguments
1159
1181
1160
1182
.. option :: -fdebug-pass-structure
@@ -1531,7 +1553,11 @@ Generate instrumented code to collect execution counts into <file> (overridden b
1531
1553
1532
1554
Use instrumentation data for profile-guided optimization
1533
1555
1556
+ .. option :: -fprofile-sample-use , -fauto-profile , -fno-profile-sample-use
1557
+
1558
+ .. program :: clang1
1534
1559
.. option :: -fprofile-sample-use= <arg >, -fauto-profile= <arg >
1560
+ .. program :: clang
1535
1561
1536
1562
Enable sample-based profile guided optimizations
1537
1563
@@ -1653,7 +1679,7 @@ Enable optimizations based on the strict definition of an enum's value range
1653
1679
1654
1680
.. option :: -fstrict-return , -fno-strict-return
1655
1681
1656
- Always treat control flow paths that fall off the end of a non-voidfunction as unreachable
1682
+ Always treat control flow paths that fall off the end of a non-void function as unreachable
1657
1683
1658
1684
.. option :: -fstrict-vtable-pointers , -fno-strict-vtable-pointers
1659
1685
@@ -1765,6 +1791,10 @@ Treat signed integer overflow as two's complement
1765
1791
1766
1792
Store string literals as writable data
1767
1793
1794
+ .. option :: -fxray-always-instrument= <arg >
1795
+
1796
+ Filename defining the whitelist for imbuing the 'always instrument' XRay attribute.
1797
+
1768
1798
.. option :: -fxray-instruction-threshold <arg >
1769
1799
1770
1800
.. program :: clang1
@@ -1777,6 +1807,10 @@ Sets the minimum function size to instrument with XRay
1777
1807
1778
1808
Generate XRay instrumentation sleds on function entry and exit
1779
1809
1810
+ .. option :: -fxray-never-instrument= <arg >
1811
+
1812
+ Filename defining the whitelist for imbuing the 'never instrument' XRay attribute.
1813
+
1780
1814
.. option :: -fzero-initialized-in-bss , -fno-zero-initialized-in-bss
1781
1815
1782
1816
.. option :: -fzvector , -fno-zvector , -mzvector
@@ -1875,7 +1909,7 @@ Link stack frames through backchain on System Z
1875
1909
1876
1910
.. option :: -mconsole <arg >
1877
1911
1878
- .. option :: -mcpu= <arg >, -mv4 (equivalent to -mcpu=hexagonv4) , -mv5 (equivalent to -mcpu=hexagonv5) , -mv55 (equivalent to -mcpu=hexagonv55) , -mv60 (equivalent to -mcpu=hexagonv60)
1912
+ .. 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)
1879
1913
1880
1914
.. option :: -mdll <arg >
1881
1915
@@ -1891,6 +1925,10 @@ Link stack frames through backchain on System Z
1891
1925
1892
1926
Set EABI type, e.g. 4, 5 or gnu (default depends on triple)
1893
1927
1928
+ .. option :: -mfentry
1929
+
1930
+ Insert calls to fentry at function entry (x86 only)
1931
+
1894
1932
.. option :: -mfloat-abi= <arg >
1895
1933
1896
1934
.. option :: -mfp32
@@ -1925,7 +1963,7 @@ Use Intel MCU ABI
1925
1963
1926
1964
(integrated-as) Emit an object file which can be used with an incremental linker
1927
1965
1928
- .. option :: -miphoneos-version-min= <arg >, -mios-simulator-version-min= < arg >, -mios-version-min= < arg >, -miphonesimulator- version-min= <arg >
1966
+ .. option :: -miphoneos-version-min= <arg >, -mios-version-min= <arg >
1929
1967
1930
1968
.. option :: -mips16
1931
1969
@@ -2015,15 +2053,15 @@ The thread model to use, e.g. posix, single (posix by default)
2015
2053
2016
2054
.. option :: -mtune= <arg >
2017
2055
2018
- .. option :: -mtvos-version-min= <arg >, -mappletvos-version-min= <arg >, -mappletvsimulator-version-min= < arg >, -mtvos-simulator-version-min= < arg >
2056
+ .. option :: -mtvos-version-min= <arg >, -mappletvos-version-min= <arg >
2019
2057
2020
2058
.. option :: -municode <arg >
2021
2059
2022
2060
.. option :: -mvx , -mno-vx
2023
2061
2024
2062
.. option :: -mwarn-nonportable-cfstrings , -mno-warn-nonportable-cfstrings
2025
2063
2026
- .. option :: -mwatchos-version-min= <arg >, -mwatchos-simulator-version-min= < arg >, -mwatchsimulator-version-min= < arg >
2064
+ .. option :: -mwatchos-version-min= <arg >
2027
2065
2028
2066
.. option :: -mwindows <arg >
2029
2067
@@ -2065,6 +2103,10 @@ Disallow generation of data access to code sections (ARM only)
2065
2103
2066
2104
Disallow use of movt/movw pairs (ARM only)
2067
2105
2106
+ .. option :: -mno-neg-immediates
2107
+
2108
+ Disallow converting instructions with negative immediates to their negation or inversion.
2109
+
2068
2110
.. option :: -mnocrc
2069
2111
2070
2112
Disallow use of CRC instructions (ARM only)
@@ -2091,6 +2133,8 @@ Enable Hexagon Double Vector eXtensions
2091
2133
2092
2134
PowerPC
2093
2135
-------
2136
+ .. option :: -maltivec , -mno-altivec
2137
+
2094
2138
.. option :: -mcmpb , -mno-cmpb
2095
2139
2096
2140
.. option :: -mcrbits , -mno-crbits
@@ -2167,6 +2211,8 @@ X86
2167
2211
2168
2212
.. option :: -mclwb , -mno-clwb
2169
2213
2214
+ .. option :: -mclzero , -mno-clzero
2215
+
2170
2216
.. option :: -mcx16 , -mno-cx16
2171
2217
2172
2218
.. option :: -mf16c , -mno-f16c
@@ -2491,15 +2537,15 @@ Add directory to library search path
2491
2537
2492
2538
Specify <script> as linker script
2493
2539
2494
- .. option :: -Tbss <addr
2540
+ .. option :: -Tbss <addr >
2495
2541
2496
2542
Set starting address of BSS to <addr>
2497
2543
2498
- .. option :: -Tdata <addr
2544
+ .. option :: -Tdata <addr >
2499
2545
2500
2546
Set starting address of BSS to <addr>
2501
2547
2502
- .. option :: -Ttext <addr
2548
+ .. option :: -Ttext <addr >
2503
2549
2504
2550
Set starting address of BSS to <addr>
2505
2551
0 commit comments