OVERVIEW: A utility that wraps around the NVIDIA 'nvlink' linker. This enables static linking and LTO handling for NVPTX targets. USAGE: clang-nvlink-wrapper [options] OPTIONS: --arch Specify the 'sm_' name of the target architecture --cuda-path= Set the system CUDA path --dry-run Print generated commands without running. -g Specify that this was a debug compile -help-hidden Display all available options -help Display available options (--help-hidden for more) --lto-debug-pass-manager Debug new pass manager --lto-emit-asm Emit assembly code --lto-emit-llvm Emit LLVM-IR bitcode --lto-newpm-passes= Passes to run during LTO -L Add to the library search path -l Search for library -mllvm Arguments passed to LLVM, including Clang invocations, for which the '-mllvm' prefix is preserved. Use '-mllvm --help' for a list of options. -o Path to file to write output --plugin-opt=jobs= Number of LTO codegen partitions --plugin-opt=lto-partitions= Number of LTO codegen partitions --plugin-opt=opt-remarks-filename= YAML output file for optimization remarks --plugin-opt=opt-remarks-filter= Regex for the passes that need to be serialized to the output file --plugin-opt=opt-remarks-format= The format used for serializing remarks (default: YAML) --plugin-opt=opt-remarks-with-hotness Include hotness information in the optimization remarks file --plugin-opt=O Optimization level for LTO --plugin-opt=thinlto Enable the thin-lto backend --plugin-opt= Options passed to LLVM, not including the Clang invocation. Use '--plugin-opt=--help' for a list of options. --ptxas-path= Set the 'ptxas' path --relocatable Perform a relocatable link (LTO only) --save-temps Save intermediate results -u Force undefined symbol during linking --version Display the version number and exit -v Print verbose information