[dsymutil] Create the temporary files in the system temp directory.
authorFrederic Riss <friss@apple.com>
Mon, 2 May 2016 21:06:14 +0000 (21:06 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 2 May 2016 21:06:14 +0000 (21:06 +0000)
commitbd126df21fdbd1338a5e3065f8cca8a1655f99a9
treedb76cab06c75c7f7e43170966c151f12b4727b6f
parent1dccd9da0187abbc7886ad1d1f682f5904a64717
[dsymutil] Create the temporary files in the system temp directory.

llvm-dsymutil used to create the temporary files in the output directory.
This works fine except when the output directory contains a '%' char, which
is then replaced by llvm::sys::fs::createUniqueFile() generating an invalid
path.
Just use the default temp dir for those files.

llvm-svn: 268304
llvm/test/tools/dsymutil/fat-binary-output.test
llvm/tools/dsymutil/dsymutil.cpp