[PATCH] PR 17421: Implemented -save-temps={obj|cwd} option

Artem Belevich tra at google.com
Fri Jan 30 13:33:54 PST 2015


Hi echristo,

-save-temps=cwd is equivalent to -save-temps   
-save-temps=obj saves temporary file in the same directory as output

This helps to avoid clobbering of temp files in case of parallel
compilation with -save-temps of the files that have the same name
but located in different directories.

http://reviews.llvm.org/D7304

Files:
  include/clang/Driver/Driver.h
  include/clang/Driver/Options.td
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  test/Driver/save-temps.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7304.19054.patch
Type: text/x-patch
Size: 11391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150130/69e9b68a/attachment.bin>


More information about the cfe-commits mailing list