[PATCH] D37706: [LLD] [MinGW] Map the -verbose option, implement -### for showing the produced parameters

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 13:37:39 PDT 2017


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

This is what I'm trying to do, but as you already have a patch, please go ahead and submit. LGTM.

I'm rewriting tests so that we verify resulting command lines instead of verifying output files. I'll send you a patch shortly.



================
Comment at: MinGW/Driver.cpp:182-184
+    for (auto Arg : LinkArgs)
+      outs() << " " << Arg;
+    outs() << "\n";
----------------
include `llvm/ADT/StringExtras.h` so that you can do

  if (...)
    outs() << llvm::join(LinkArgs, " ") << "\n";


https://reviews.llvm.org/D37706





More information about the llvm-commits mailing list