[PATCH] D47480: clang-cl: Expose -no-canonical-prefixes
Takuto Ikuta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 29 14:28:25 PDT 2018
takuto.ikuta added a comment.
On windows, argv0 is changed to absolute path before we call GetExecutablePath.
That makes resource-dir absolute.
I need clang-cl on windows has relative --resource-dir.
See around heres.
https://github.com/llvm-project/llvm-project-20170507/blob/83b39c10b1d7a9189b7ee646212eccf6e61dcfbf/clang/tools/driver/driver.cpp#L323
https://github.com/llvm-project/llvm-project-20170507/blob/ca50c5d758541decdb59330fb15fe6b73ba6467d/llvm/lib/Support/InitLLVM.cpp#L28
https://reviews.llvm.org/D47480
More information about the cfe-commits
mailing list