mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[llvm-ar] errors go on stderr and not on stdout.
llvm-svn: 299548
This commit is contained in:
parent
fdb54ce7e7
commit
c830c23e31
@ -57,5 +57,5 @@ THINEXTRACT: extracting from a thin archive is not supported
|
||||
RUN: llvm-ar p %p/Inputs/thin.a evenlen | FileCheck %s --check-prefix=EVENLEN
|
||||
EVENLEN: evenlen
|
||||
|
||||
RUN: not llvm-ar p %p/Inputs/thin-path.a t/test2.o | FileCheck %s --check-prefix=MISSING
|
||||
RUN: not llvm-ar p %p/Inputs/thin-path.a t/test2.o 2>&1 | FileCheck %s --check-prefix=MISSING
|
||||
MISSING: {{N|n}}o such file or directory.
|
||||
|
@ -52,7 +52,7 @@ static StringRef ToolName;
|
||||
|
||||
// Show the error message and exit.
|
||||
LLVM_ATTRIBUTE_NORETURN static void fail(Twine Error) {
|
||||
outs() << ToolName << ": " << Error << ".\n";
|
||||
errs() << ToolName << ": " << Error << ".\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user