mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
d5a6f226bd
Summary: Use ToolOutputFile to clean up the output file unless dwp actually finishes successfully. Reviewers: dblaikie Reviewed By: dblaikie Subscribers: jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58130 llvm-svn: 353873
8 lines
228 B
Plaintext
8 lines
228 B
Plaintext
RUN: rm -f %t
|
|
RUN: not llvm-dwp %p/../Inputs/missing_dwo_id.dwo -o %t 2>&1 | FileCheck %s
|
|
|
|
Make sure we did not leave behind a temporary file:
|
|
RUN: not ls %t
|
|
|
|
CHECK: error: {{.*}}missing_dwo_id.dwo': compile unit missing dwo_id
|