Skip to content

Commit 7cd989e

Browse files
committed
Don't delete the crash file
1 parent f166d35 commit 7cd989e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clang/utils/reduce-clang-crash.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,6 @@ def check_backend(self) -> Optional[FailureType]:
540540
if self.check_llc_failure():
541541
print("Found BackEnd Crash")
542542
return FailureType.BackEnd
543-
elif os.path.exists(self.ir_file):
544-
# clean up the IR file if we generated it, but won't use it.
545-
print(f"clean up {self.ir_file}, since we can't repro w/ llc")
546-
os.remove(self.ir_file)
547543

548544
def extract_crashing_ir(self):
549545
"""

0 commit comments

Comments
 (0)