[PATCH] D41033: Use ErrorOS for log messages as well as error

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 16:32:23 PST 2017


For what it is worth, both ld.bfd --version and ld.gold --version print
to stdout.

Cheers,
Rafael

Rui Ueyama via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:

> ruiu added a comment.
>
> I agree that log should go to stderr, but I think message should still go to stdout. We have that function to print out a regular message, such as printing out version information or some hint message. We have this function mainly because we want to acquire the global lock before printing out something in the multithreaded environment.
>
>
> Repository:
>   rLLD LLVM Linker
>
> https://reviews.llvm.org/D41033
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list