[PATCH] D113020: [lld/mac] Write -v output to stderr

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 08:20:45 PDT 2021


oontvoo accepted this revision.
oontvoo added a comment.
This revision is now accepted and ready to land.

LGTM

(a bit of an interesting behaviour on LD64 - but then I'd expect nothing less from it  ...)



================
Comment at: lld/MachO/Driver.cpp:1365
   if (args.hasArg(OPT_v)) {
-    message(getLLDVersion());
+    message(getLLDVersion(), lld::errs());
     message(StringRef("Library search paths:") +
----------------
test failures look related - (ie., tests need to read stderr: `2>&1` ?)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113020/new/

https://reviews.llvm.org/D113020



More information about the llvm-commits mailing list