Update the tutorial to match changes to examples/Kaleidoscope.
[oota-llvm.git] / docs / CommandGuide / llvmc.pod
index 18ffb9f03a57190d03738e0842cc1db15b06445c..e3031e123d383b6e6b7f27f9f58d8c6630614328 100644 (file)
@@ -65,8 +65,17 @@ 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<--temp-dir> I<directory>
+
+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>