summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-11 19:27:40 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-11 19:27:40 +0000
commit09826e3e2ff1faa28441968d053dafa672536321 (patch)
tree60c237b970227c3ee4b84442a76ab38ee151dc7c
parent63bb60fc320f6076f31e1dbe18b67b0ff1ecdd71 (diff)
downloadllvm-09826e3e2ff1faa28441968d053dafa672536321.tar.gz
llvm-09826e3e2ff1faa28441968d053dafa672536321.tar.bz2
llvm-09826e3e2ff1faa28441968d053dafa672536321.tar.xz
Update documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75375 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/CommandGuide/llvmc.pod5
-rw-r--r--tools/llvmc/doc/LLVMC-Reference.rst6
2 files changed, 7 insertions, 4 deletions
diff --git a/docs/CommandGuide/llvmc.pod b/docs/CommandGuide/llvmc.pod
index 86a721a6c4..e3031e123d 100644
--- a/docs/CommandGuide/llvmc.pod
+++ b/docs/CommandGuide/llvmc.pod
@@ -73,8 +73,9 @@ default behaviour.
=item B<--temp-dir> I<directory>
-Write temporary files to the specified directory. This option overrides
-I<--save-temps>.
+Store temporary files in the given directory. This directory is deleted on exit
+unless I<--save-temps> is specified. If I<--save-temps=obj> is also specified,
+I<--temp-dir> is given the precedence.
=item B<--help>
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst
index a5c6fc9f06..3014a3afbf 100644
--- a/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/tools/llvmc/doc/LLVMC-Reference.rst
@@ -97,8 +97,10 @@ configuration libraries:
the ``-o`` option. The ``--save-temps=cwd`` and ``--save-temps`` switches are
both synonyms for the default behaviour.
-* ``--temp-dir`` - Write temporary files to the specified directory. This option
- overrides ``--save-temps``.
+* ``--temp-dir DIRECTORY`` - Store temporary files in the given directory. This
+ directory is deleted on exit unless ``--save-temps`` is specified. If
+ ``--save-temps=obj`` is also specified, ``--temp-dir`` is given the
+ precedence.
* ``--check-graph`` - Check the compilation for common errors like mismatched
output/input language names, multiple default edges and cycles. Because of