aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-09 19:39:16 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-09 19:39:16 +0000
commit792f1822e609b99f459e123b0fef6132e41d27b9 (patch)
tree07e9a2df0ac32552b7abe347164157904f6a3b95
parentbe8d735a701269a52a9eb136c9d2087b1f835296 (diff)
downloadexternal_llvm-792f1822e609b99f459e123b0fef6132e41d27b9.zip
external_llvm-792f1822e609b99f459e123b0fef6132e41d27b9.tar.gz
external_llvm-792f1822e609b99f459e123b0fef6132e41d27b9.tar.bz2
Documentation update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75166 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/CommandGuide/llvmc.pod5
-rw-r--r--tools/llvmc/doc/LLVMC-Reference.rst3
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/CommandGuide/llvmc.pod b/docs/CommandGuide/llvmc.pod
index 97445ed..86a721a 100644
--- a/docs/CommandGuide/llvmc.pod
+++ b/docs/CommandGuide/llvmc.pod
@@ -71,6 +71,11 @@ write files into the directory specified with the I<-o> option. The
I<--save-temps=cwd> and I<--save-temps> switches are both synonyms for the
default behaviour.
+=item B<--temp-dir> I<directory>
+
+Write temporary files to the specified directory. This option overrides
+I<--save-temps>.
+
=item B<--help>
Print a summary of command-line options and exit.
diff --git a/tools/llvmc/doc/LLVMC-Reference.rst b/tools/llvmc/doc/LLVMC-Reference.rst
index 4653e0e..a5c6fc9 100644
--- a/tools/llvmc/doc/LLVMC-Reference.rst
+++ b/tools/llvmc/doc/LLVMC-Reference.rst
@@ -97,6 +97,9 @@ 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``.
+
* ``--check-graph`` - Check the compilation for common errors like mismatched
output/input language names, multiple default edges and cycles. Because of
plugins, these checks can't be performed at compile-time. Exit with code zero