[PATCH] Windows: Add support for unicode command lines
Reid Kleckner
rnk at google.com
Sun Oct 6 11:47:30 PDT 2013
On Sun, Oct 6, 2013 at 2:39 PM, Yunzhong Gao <
Yunzhong_Gao at playstation.sony.com> wrote:
>
> In lib/Support/Windows/Signals.inc,
> + HMODULE hLib = ::LoadLibrary(TEXT("Dbghelp.dll"));
>
> Will LoadLibrary accept unicode file names, or do you have to use
> LoadLibraryW instead?
LoadLibrary will be either A or W, and TEXT() will ensure it works either
way, so this instance is fine. In general the rest of Support/Windows uses
explicit *W routines.
> http://llvm-reviews.chandlerc.com/D1834
>
> BRANCH
> winpath
>
> ARCANIST PROJECT
> llvm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131006/ba85533c/attachment.html>
More information about the llvm-commits
mailing list