From a931eddd09145c340966db0561159a8e7cdb212e Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 2 Sep 2022 10:29:37 -0700 Subject: [PATCH] [docs] Regenerate clang/docs/ClangCommandLineReference.rst --- clang/docs/ClangCommandLineReference.rst | 44 ++++++++++++++++---------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index 7f9ef37..370a7a3 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -76,10 +76,6 @@ Pass to fatbinary invocation Pass to the ptxas assembler -.. option:: -Z - -.. option:: -a, --profile-blocks - .. option:: -all\_load .. option:: -allowable\_client @@ -579,10 +575,6 @@ Print the library path for the currently used compiler runtime library ("libgcc. .. option:: -print-multi-lib, --print-multi-lib -.. option:: -print-multiarch, --print-multiarch - -Print the multiarch target triple - .. option:: -print-prog-name=, --print-prog-name=, --print-prog-name Print the full program path of @@ -859,9 +851,9 @@ no effect during actions that do not perform compilation. Pass to the assembler -.. option:: -Xclang +.. option:: -Xclang , -Xclang= -Pass to the clang compiler +Pass to clang -cc1 .. option:: -Xopenmp-target @@ -947,10 +939,6 @@ Inline suitable functions Inline functions which are (explicitly or implicitly) marked inline -.. option:: -finline-max-stacksize= - -Suppress inlining of functions with a stacksize larger than bytes. - .. option:: -fno-legacy-pass-manager, -fexperimental-new-pass-manager .. option:: -fno-sanitize-ignorelist, -fno-sanitize-blacklist @@ -1913,6 +1901,10 @@ Implicitly search the file system for module map files. .. option:: -fimplicit-modules, -fno-implicit-modules +.. option:: -finline-max-stacksize= + +Suppress inlining of functions whose stack size exceeds the given value + .. option:: -finput-charset= Specify the default character set for source files @@ -2785,11 +2777,7 @@ Only instrument 1 of N groups Don't instrument functions with loops unless they also meet the minimum function size -.. option:: -fxray-instruction-threshold - -.. program:: clang1 .. option:: -fxray-instruction-threshold= -.. program:: clang Sets the minimum function size to instrument with XRay @@ -3205,6 +3193,10 @@ Not emit the visibility attribute for asm in AIX OS or give all symbols 'unspeci (integrated-as) Emit an object file which can be used with an incremental linker +.. option:: -mindirect-branch-cs-prefix + +Add cs prefix to call and jmp to indirect thunk + .. option:: -mios-version-min=, -miphoneos-version-min= Set iOS deployment target @@ -4301,9 +4293,7 @@ Pass to the linker Pass to the offload linkers or the ones idenfied by - -.. program:: clang1 .. option:: -Z -.. program:: clang .. option:: -b @@ -4390,18 +4380,28 @@ CL.EXE COMPATIBILITY OPTIONS dxc compatibility options .. program:: clang4 +.. option:: --E, /E, -E +.. program:: clang + +Entry point name + +.. program:: clang5 .. option:: /T, -T .. program:: clang Set target profile. must be 'ps_6_0', ' ps_6_1', ' ps_6_2', ' ps_6_3', ' ps_6_4', ' ps_6_5', ' ps_6_6', ' ps_6_7', 'vs_6_0', ' vs_6_1', ' vs_6_2', ' vs_6_3', ' vs_6_4', ' vs_6_5', ' vs_6_6', ' vs_6_7', 'gs_6_0', ' gs_6_1', ' gs_6_2', ' gs_6_3', ' gs_6_4', ' gs_6_5', ' gs_6_6', ' gs_6_7', 'hs_6_0', ' hs_6_1', ' hs_6_2', ' hs_6_3', ' hs_6_4', ' hs_6_5', ' hs_6_6', ' hs_6_7', 'ds_6_0', ' ds_6_1', ' ds_6_2', ' ds_6_3', ' ds_6_4', ' ds_6_5', ' ds_6_6', ' ds_6_7', 'cs_6_0', ' cs_6_1', ' cs_6_2', ' cs_6_3', ' cs_6_4', ' cs_6_5', ' cs_6_6', ' cs_6_7', 'lib_6_3', ' lib_6_4', ' lib_6_5', ' lib_6_6', ' lib_6_7', ' lib_6_x', 'ms_6_5', ' ms_6_6', ' ms_6_7', 'as_6_5', ' as_6_6' or ' as_6_7'. -.. program:: clang5 +.. program:: clang6 .. option:: /emit-pristine-llvm, -emit-pristine-llvm, /fcgl, -fcgl .. program:: clang Emit pristine LLVM IR from the frontend by not running any LLVM passes at all.Same as -S + -emit-llvm + -disable-llvm-passes. -.. program:: clang6 +.. option:: -hlsl-entry + +Entry point name for hlsl + +.. program:: clang7 .. option:: /hlsl-no-stdinc, -hlsl-no-stdinc .. program:: clang -- 2.7.4