[PATCH] D47480: clang-cl: Expose -no-canonical-prefixes

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue May 29 15:51:01 PDT 2018


But GetExecutablePath isn't called if -no-canonical-prefixes is passed, is
it? (See the first link I pasted above)

On Tue, May 29, 2018, 5:28 PM Takuto Ikuta via Phabricator via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> 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
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180529/297dcd37/attachment.html>


More information about the cfe-commits mailing list