mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
Delete the temp dir even when '--temp-dir' is specified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
646ca92bfc
commit
63bb60fc32
@ -62,8 +62,7 @@ namespace {
|
|||||||
int BuildTargets(CompilationGraph& graph, const LanguageMap& langMap) {
|
int BuildTargets(CompilationGraph& graph, const LanguageMap& langMap) {
|
||||||
int ret;
|
int ret;
|
||||||
const sys::Path& tempDir = getTempDir();
|
const sys::Path& tempDir = getTempDir();
|
||||||
bool toDelete =
|
bool toDelete = (SaveTemps == SaveTempsEnum::Unset);
|
||||||
(SaveTemps == SaveTempsEnum::Unset && TempDirname.empty());
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ret = graph.Build(tempDir, langMap);
|
ret = graph.Build(tempDir, langMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user