[PATCH] D43621: [Driver] Allow using a canonical form of '-fuse-ld=' when cross-compiling on Windows.
Jonas Hahnfeld via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 22 07:51:28 PST 2018
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
More information about the cfe-commits
mailing list