takuto.ikuta added a comment. Thank you for quick supporting, but this is not sufficient for clang-cl on windows.
llvm::InitLLVM calls windows::GetCommandLineArguments, and argv0 is changed to absolute path. https://github.com/llvm-project/llvm-project-20170507/blob/7c81daae49eaf7f9681457b46c569c1bc6b80283/llvm/lib/Support/Windows/Process.inc#L229 Then clang's builtin include files are shown in absolute path even we specify -no-canonical-prefixes. Can we keep using original argv0 when argv0 is not 8.3 filename? Or is there better solution? https://reviews.llvm.org/D47480 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits