Skip to content

Commit f33fa6b

Browse files
committed
lldb-module-test: correct the output pipe
Use the error stream for error messages.
1 parent 3c87474 commit f33fa6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lldb-moduleimport-test/lldb-moduleimport-test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ collectASTModules(llvm::cl::list<std::string> &InputNames,
172172

173173
llvm::Expected<llvm::StringRef> ContentsReference = Section.getContents();
174174
if (!ContentsReference) {
175-
llvm::outs() << "error: " << name << " "
175+
llvm::errs() << "error: " << name << " "
176176
<< errorToErrorCode(OF.takeError()).message() << "\n";
177177
return false;
178178
}

0 commit comments

Comments
 (0)