Fix llvm-ld to clean up its output files in case of an error.
authorDan Gohman <gohman@apple.com>
Tue, 30 Mar 2010 19:56:41 +0000 (19:56 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 30 Mar 2010 19:56:41 +0000 (19:56 +0000)
commit132a9946bf494f046ca61b95cea02a53804845c4
treed7243f02e2488384d987f2534f0e5053ca9ceab5
parentbd44314c676a05e52f3841c5961ea0a2bc1116fb
Fix llvm-ld to clean up its output files in case of an error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99915 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileUtilities.h
tools/llvm-ld/llvm-ld.cpp