[PATCH] On {mips, mipsel, mips64, mips64el}-freebsd, we need to pass any -G option to the assembler.

Reid Kleckner rnk at google.com
Fri May 29 14:19:55 PDT 2015


================
Comment at: lib/Driver/Tools.cpp:6746-6748
@@ +6745,5 @@
+  if (Arg *A = Args.getLastArg(options::OPT_G)) {
+    StringRef v = A->getValue();
+    CmdArgs.push_back(Args.MakeArgString("-G" + v));
+    A->claim();
+  }
----------------
Any reason not to do `A->render(Args, CmdArgs);`?

http://reviews.llvm.org/D10137

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list