Index: clang/docs/ClangCommandLineReference.rst
===================================================================
--- clang/docs/ClangCommandLineReference.rst
+++ clang/docs/ClangCommandLineReference.rst
@@ -144,8 +144,6 @@
.. option:: --constant-cfstrings
-.. option:: -coverage, --coverage
-
.. option:: --cuda-compile-host-device
Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations.
@@ -178,6 +176,10 @@
Filename (or -) to write dependency output to
+.. option:: -dsym-dir
+
+Directory to output dSYM's (if any) to
+
.. option:: -dumpmachine
.. option:: -dumpversion
@@ -200,6 +202,10 @@
Emit Clang AST files for source inputs
+.. option:: --emit-static-lib
+
+Enable linker job to emit a static library.
+
.. option:: -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
Trivial automatic variable initialization to zero is only here for benchmarks, it'll eventually be removed, and I'm OK with that because I'm only using it to benchmark
@@ -262,6 +268,10 @@
.. option:: -ginline-line-tables, -gno-inline-line-tables
+.. option:: --gpu-instrument-lib=
+
+Instrument device library for HIP, which is a LLVM bitcode containing \_\_cyg\_profile\_func\_enter and \_\_cyg\_profile\_func\_exit
+
.. option:: --gpu-max-threads-per-block=
Default max threads per block for kernel launch bounds for HIP
@@ -280,6 +290,10 @@
Link clang-offload-bundler bundles for HIP
+.. option:: --hip-version=
+
+HIP version in the format of major.minor.patch
+
.. option:: -ibuiltininc
Enable builtin #include directories even when -nostdinc is used before or after -ibuiltininc. Using -nobuiltininc after the option disables it
@@ -310,6 +324,10 @@
Enforce targets of indirect branches and function returns
+.. option:: -mharden-sls=
+
+Select straight-line speculation hardening scope
+
.. option:: --migrate
Run the migrator
@@ -374,8 +392,6 @@
.. option:: -noseglinkedit
-.. option:: -nostartfiles
-
.. option:: -nostdinc, --no-standard-includes
.. program:: clang1
@@ -384,11 +400,7 @@
Disable standard #include directories for the C++ standard library
-.. option:: -nostdlib, --no-standard-libraries
-
-.. program:: clang1
.. option:: -nostdlib++
-.. program:: clang
.. option:: -nostdlibinc
@@ -464,7 +476,7 @@
.. option:: --offload-arch=, --cuda-gpu-arch=, --no-offload-arch=
-CUDA/HIP offloading device architecture (e.g. sm\_35, gfx906). May be specified more than once.
+CUDA offloading device architecture (e.g. sm\_35), or HIP offloading target ID in the form of a device architecture followed by target ID features delimited by a colon. Each target ID feature is a pre-defined string followed by a plus or minus sign (e.g. gfx908:xnack+:sram-ecc-). May be specified more than once.
.. option:: -p, --profile
@@ -474,8 +486,6 @@
Enable mcount instrumentation
-.. option:: -pie
-
.. option:: -pipe, --pipe
Use pipes between commands, when possible
@@ -538,8 +548,6 @@
.. option:: -pthreads
-.. option:: -rdynamic
-
.. option:: -read\_only\_relocs
.. option:: -relocatable-pch, --relocatable-pch
@@ -602,8 +610,6 @@
Serialize compiler diagnostics to a file
-.. option:: -shared, --shared
-
.. option:: -shared-libgcc
.. option:: -shared-libsan, -shared-libasan
@@ -612,10 +618,6 @@
.. option:: -single\_module
-.. option:: -specs=, --specs=
-
-.. option:: -static, --static
-
.. option:: -static-libgcc
.. option:: -static-libsan
@@ -628,8 +630,6 @@
Use the static host OpenMP runtime while linking.
-.. option:: -static-pie
-
.. option:: -std-default=
.. option:: -stdlib=, --stdlib=, --stdlib
@@ -734,7 +734,7 @@
.. option:: -emit-interface-stubs
-Generate Inteface Stub Files.
+Generate Interface Stub Files.
.. option:: -emit-llvm
@@ -820,7 +820,7 @@
.. option:: -fexperimental-strict-floating-point
-Enables the use of non-default rounding modes and non-default exception handling on targets that are not currently ready.
+Enables experimental strict floating point in LLVM.
.. option:: -ffine-grained-bitfield-accesses, -fno-fine-grained-bitfield-accesses
@@ -886,11 +886,11 @@
Generalize pointers in CFI indirect call type signature checks
-.. option:: -fsanitize-coverage-allowlist=
+.. option:: -fsanitize-coverage-allowlist=, -fsanitize-coverage-whitelist=
Restrict sanitizer coverage instrumentation exclusively to modules and functions that match the provided special case list, except the blocked ones
-.. option:: -fsanitize-coverage-blocklist=
+.. option:: -fsanitize-coverage-blocklist=, -fsanitize-coverage-blacklist=
Disable sanitizer coverage instrumentation for modules and functions that match the provided special case list, even the allowed ones
@@ -1529,6 +1529,10 @@
.. option:: -feliminate-unused-debug-symbols, -fno-eliminate-unused-debug-symbols
+.. option:: -feliminate-unused-debug-types, -fno-eliminate-unused-debug-types
+
+Do not emit debug info for defined but unused types
+
.. option:: -fembed-bitcode=