[llvm] 4f5cdba - [docs] Expand lit documentation on response files

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 23:51:13 PDT 2022


Author: Petr Hosek
Date: 2022-08-29T06:51:01Z
New Revision: 4f5cdbae887e9ab971a841dd123dec110ed12254

URL: https://github.com/llvm/llvm-project/commit/4f5cdbae887e9ab971a841dd123dec110ed12254
DIFF: https://github.com/llvm/llvm-project/commit/4f5cdbae887e9ab971a841dd123dec110ed12254.diff

LOG: [docs] Expand lit documentation on response files

This was requested in https://reviews.llvm.org/D132437.

Added: 
    

Modified: 
    llvm/docs/CommandGuide/lit.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst
index 31e272636bab8..b9d8675ef459b 100644
--- a/llvm/docs/CommandGuide/lit.rst
+++ b/llvm/docs/CommandGuide/lit.rst
@@ -44,7 +44,10 @@ supplementing or overriding the command-line options supplied to :program:`lit`
 by ``check`` targets defined by a project's build system.
 
 :program:`lit` can also read options from response files which are specified as
-inputs using the ``@path/to/file.rsp`` syntax.
+inputs using the ``@path/to/file.rsp`` syntax. Arguments read from a file must
+be one per line and are treated as if they were in the same place as the
+original file referencing argument on the command line. A response file can
+reference other response files.
 
 Users interested in the :program:`lit` architecture or designing a
 :program:`lit` testing implementation should see :ref:`lit-infrastructure`.


        


More information about the llvm-commits mailing list