OSDN Git Service

Update documentation.
authorMikhail Glushenkov <foldr@codedgers.com>
Thu, 25 Jun 2009 18:20:44 +0000 (18:20 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Thu, 25 Jun 2009 18:20:44 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74191 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandGuide/llvmc.pod
tools/llvmc/doc/LLVMC-Reference.rst

index 18ffb9f..97445ed 100644 (file)
@@ -65,8 +65,11 @@ name. Hidden option, useful for debugging LLVMC plugins.
 
 =item B<--save-temps>
 
-Write temporary files to the current directory and do not delete them
-on exit. Hidden option, useful for debugging.
+Write temporary files to the current directory and do not delete them on
+exit. This option can also take an argument: the I<--save-temps=obj> switch will
+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<--help>
 
index 7befe8f..329f9ea 100644 (file)
@@ -92,6 +92,12 @@ configuration libraries:
 
 * ``-v`` - Enable verbose mode, i.e. print out all executed commands.
 
+* ``--save-temps`` - Write temporary files to the current directory and do not
+  delete them on exit. This option can also take an argument: the
+  ``--save-temps=obj`` switch will write files into the directory specified with
+  the ``-o`` option. The ``--save-temps=cwd`` and ``--save-temps`` switches are
+  both synonyms for the default behaviour.
+
 * ``--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
@@ -108,9 +114,6 @@ configuration libraries:
   used to set the output file name. Hidden option, useful for debugging LLVMC
   plugins.
 
-* ``--save-temps`` - Write temporary files to the current directory
-  and do not delete them on exit. Hidden option, useful for debugging.
-
 * ``--help``, ``--help-hidden``, ``--version`` - These options have
   their standard meaning.