mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Do not leave a bunch of crud lying around
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1dcf7bc6a9
commit
1b747167da
@ -24,6 +24,7 @@
|
||||
#include "llvm/Transforms/Utils/Cloning.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "Support/CommandLine.h"
|
||||
#include "Support/FileUtilities.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace llvm {
|
||||
@ -129,6 +130,7 @@ Module *BugDriver::performFinalCleanups(Module *M, bool MayModifySemantics) {
|
||||
<< Filename << "'!\n";
|
||||
exit(1);
|
||||
}
|
||||
removeFile(Filename);
|
||||
}
|
||||
return M;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user