[clang] 8a1984c - [Clang][Docs] Document `-Xoffload-linker` flag

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed May 25 10:33:25 PDT 2022


Author: Joseph Huber
Date: 2022-05-25T13:33:10-04:00
New Revision: 8a1984c25e2c982a9388c14bdaf99bdcd3e26bd4

URL: https://github.com/llvm/llvm-project/commit/8a1984c25e2c982a9388c14bdaf99bdcd3e26bd4
DIFF: https://github.com/llvm/llvm-project/commit/8a1984c25e2c982a9388c14bdaf99bdcd3e26bd4.diff

LOG: [Clang][Docs] Document `-Xoffload-linker` flag

Summary:
I added the `-Xoffload-linker` flag and did not provide additional
documentation. This patch adds it.

Added: 
    

Modified: 
    clang/docs/ClangCommandLineReference.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index 13e175a4e5203..5926decc85fc1 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/docs/ClangCommandLineReference.rst
@@ -4215,6 +4215,10 @@ Pass the comma separated arguments in <arg> to the linker
 
 Pass <arg> to the linker
 
+.. option:: -Xoffload-linker <arg>, -Xoffload-linker-<triple> <arg>
+
+Pass <arg> to all the device linking jobs, or for only <triple> if specified.
+
 .. program:: clang1
 .. option:: -Z
 .. program:: clang


        


More information about the cfe-commits mailing list