From a180fc4503363248f4bb5a9cd3e25165906496b7 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Thu, 22 Feb 2018 17:10:28 +0000 Subject: [PATCH] [docs] Regenerate command line reference llvm-svn: 325807 --- clang/docs/ClangCommandLineReference.rst | 46 +++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index 6a0eab4..79011b5 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -61,10 +61,10 @@ Pass to the ptxas assembler Pass to the target offloading toolchain. .. program:: clang1 -.. option:: -Xopenmp-target= +.. option:: -Xopenmp-target= .. program:: clang -Pass to the specified target offloading toolchain. The triple that identifies the toolchain must be provided after the equals sign. +Pass to the target offloading toolchain identified by . .. option:: -Z @@ -710,6 +710,14 @@ Print source range spans in numeric form .. option:: -fdiagnostics-show-category= +.. option:: -fdiscard-value-names, -fno-discard-value-names + +Discard value names in LLVM IR + +.. option:: -fexperimental-isel, -fno-experimental-isel + +Enables the experimental global instruction selector + .. option:: -fexperimental-new-pass-manager, -fno-experimental-new-pass-manager Enables an experimental new pass manager in LLVM. @@ -744,6 +752,10 @@ Level of field padding for AddressSanitizer Enable linker dead stripping of globals in AddressSanitizer +.. option:: -fsanitize-address-poison-class-member-array-new-cookie, -fno-sanitize-address-poison-class-member-array-new-cookie + +Enable poisoning array cookies when using class member operator new\[\] in AddressSanitizer + .. option:: -fsanitize-address-use-after-scope, -fno-sanitize-address-use-after-scope Enable use-after-scope detection in AddressSanitizer @@ -876,6 +888,10 @@ Add directory to include search path Restrict all prior -I flags to double-quoted inclusion and remove current directory from include path +.. option:: --cuda-path-ignore-env + +Ignore environment variables to detect CUDA installation + .. option:: --cuda-path= CUDA installation path @@ -1507,12 +1523,6 @@ Do not treat C++ operator name keywords as synonyms for operators .. option:: -fno-working-directory -.. option:: -fnoopenmp-relocatable-target - -Do not compile OpenMP target code as relocatable. - -.. option:: -fnoopenmp-use-tls - .. option:: -fobjc-abi-version= .. option:: -fobjc-arc, -fno-objc-arc @@ -1551,18 +1561,12 @@ Enable ARC-style weak references in Objective-C .. option:: -fopenmp, -fno-openmp -.. option:: -fopenmp-dump-offload-linker-script - -.. option:: -fopenmp-relocatable-target - -OpenMP target code is compiled as relocatable using the -c flag. For OpenMP targets the code is relocatable by default. +Parse OpenMP pragmas and generate parallel code. .. option:: -fopenmp-simd, -fno-openmp-simd Emit OpenMP code only for SIMD-based constructs. -.. option:: -fopenmp-use-tls - .. option:: -fopenmp-version= .. program:: clang1 @@ -1748,7 +1752,7 @@ Enable the superword-level parallelism vectorization passes .. option:: -fsplit-dwarf-inlining, -fno-split-dwarf-inlining -Place debug types in their own section (ELF Only) +Provide minimal debug info in the object/executable to facilitate online symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF .. option:: -fsplit-stack @@ -1974,6 +1978,10 @@ OpenCL language standard to compile for. OpenCL only. This option is added for compatibility with OpenCL 1.0. +.. option:: -cl-uniform-work-group-size + +OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel + .. option:: -cl-unsafe-math-optimizations OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable. @@ -2086,6 +2094,10 @@ Use Intel MCU ABI (integrated-as) Emit an object file which can be used with an incremental linker +.. option:: -mindirect-jump= + +Change indirect jump instructions to inhibit speculation + .. option:: -miphoneos-version-min=, -mios-version-min= .. option:: -mips16 @@ -2436,6 +2448,8 @@ X86 .. option:: -mrtm, -mno-rtm +.. option:: -msahf, -mno-sahf + .. option:: -msgx, -mno-sgx .. option:: -msha, -mno-sha -- 2.7.4