mstorsjo added a comment. In https://reviews.llvm.org/D53066#1274288, @zturner wrote:
> It seems like some combination of checking the target triple, host triple, > and driver mode and putting the conversions behind those checks could work? Sounds ok, I can give it a shot. There's probably no need to explicitly check the host here, as the `convert_to_slash` function is a no-op on anything else than windows. > For paths like resource dir that are going into debug info it should be > driver mode. Why is that? Wouldn't one want the same behaviour when building with the clang driver with an msvc target triple? Also, what kind of paths do you get in the PDB when crosscompiling from unix with clang-cl? https://reviews.llvm.org/D53066 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits