zturner added a subscriber: mstorsjo. zturner added a comment. It seems like some combination of checking the target triple, host triple, and driver mode and putting the conversions behind those checks could work?
For paths like resource dir that are going into debug info it should be driver mode. For paths we pass to another tool it should probably be based on target triple . This probably isn’t perfect, but WDYT? https://reviews.llvm.org/D53066 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits