[PATCH] Imply linker arguments from '-fveclib' option.

hfinkel at anl.gov hfinkel at anl.gov
Mon Mar 16 22:40:49 PDT 2015


================
Comment at: lib/Driver/Tools.cpp:6127
@@ -6126,1 +6126,3 @@
 
+  if (Arg *A = Args.getLastArg(options::OPT_fveclib)) {
+    if (A->getValue() == StringRef("Accelerate")) {
----------------
This also need to be guarded by:

     (!Args.hasArg(options::OPT_nostdlib) &&
      !Args.hasArg(options::OPT_nodefaultlibs))

(and please update the test as well)

http://reviews.llvm.org/D8362

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






More information about the cfe-commits mailing list