[PATCH] D22426: Fix automatic detection of ARM MSVC toolset in clang.exe
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 7 22:04:36 PDT 2016
compnerd added inline comments.
================
Comment at: lib/Driver/MSVCToolChain.cpp:478
@@ +477,3 @@
+ // toolset, if it exists.
+ if (llvm::sys::fs::exists(X64BinDir)) {
+ path = X64BinDir.str();
----------------
As per the consensus, this should be:
if (llvm::sys::getProcessTriple().getArch() == llvm::Triple::x86_64 && llvm::sys::fs::exists(X64BinDir)) {
https://reviews.llvm.org/D22426
More information about the cfe-commits
mailing list