Hahnfeld added inline comments.

================
Comment at: lib/Driver/ToolChain.cpp:415
     // second-guess that.
-    if (llvm::sys::fs::exists(UseLinker))
+    if (llvm::sys::fs::can_execute(UseLinker))
       return UseLinker;
----------------
I don't think we should do this for absolute paths?


Repository:
  rC Clang

https://reviews.llvm.org/D43621



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to