diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-07-11 19:27:40 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-07-11 19:27:40 +0000 |
commit | bee767fa2681f5a7ec4e3a5fcee5bffb83a12c38 (patch) | |
tree | f6ee86dfa6e33aa8eb00943c6251f538993eb55f | |
parent | 3c9e8d3b1fdadc85604c8fff43cea4db24f6f897 (diff) | |
download | bcm5719-llvm-bee767fa2681f5a7ec4e3a5fcee5bffb83a12c38.tar.gz bcm5719-llvm-bee767fa2681f5a7ec4e3a5fcee5bffb83a12c38.zip |
Update documentation.
llvm-svn: 75375
-rw-r--r-- | llvm/docs/CommandGuide/llvmc.pod | 5 | ||||
-rw-r--r-- | llvm/tools/llvmc/doc/LLVMC-Reference.rst | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/llvm/docs/CommandGuide/llvmc.pod b/llvm/docs/CommandGuide/llvmc.pod index 86a721a6c43..e3031e123d3 100644 --- a/llvm/docs/CommandGuide/llvmc.pod +++ b/llvm/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/llvm/tools/llvmc/doc/LLVMC-Reference.rst b/llvm/tools/llvmc/doc/LLVMC-Reference.rst index a5c6fc9f061..3014a3afbff 100644 --- a/llvm/tools/llvmc/doc/LLVMC-Reference.rst +++ b/llvm/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 |