1
0
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:
Davide Italiano 2017-04-05 14:52:17 +00:00
parent fdb54ce7e7
commit c830c23e31
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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);
}