[cfe-dev] Using Clang 5.0.0 RC2 with MSVC dev builds

Stephan T. Lavavej via cfe-dev cfe-dev at lists.llvm.org
Thu Aug 17 20:54:04 PDT 2017


[don hinton] 
> I wouldn't use my initial attempt.  Instead of trying to cache linkPath directly, one should override getDefaultLinker() and add the bin path to FilePaths.
> Then you could simplify setting linkPath, but doesn't solve all the problems.
> The only other thing I'd suggest would be to remove the check for VC.

Debugging your initial attempt gave me enough experience and confidence to try a new approach: https://reviews.llvm.org/D36860

This relaxes the check for VC instead of removing it entirely. Recognizing DevDiv's subdirectories allows us to regenerate paths properly later.

Thanks,
STL


More information about the cfe-dev mailing list