diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-10-07 09:52:36 +0000 | 
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-10-07 09:52:36 +0000 | 
| commit | 17a44966be8655ccc7772d842bda554f72cedcbd (patch) | |
| tree | 8e91ed88666f4a3486f71220962aac00b5b8d198 /llvm/lib/Support/CommandLine.cpp | |
| parent | f7c520ff66d2029b1440db6768c811055d1038f6 (diff) | |
| download | llvm-17a44966be8655ccc7772d842bda554f72cedcbd.zip llvm-17a44966be8655ccc7772d842bda554f72cedcbd.tar.gz llvm-17a44966be8655ccc7772d842bda554f72cedcbd.tar.bz2 | |
Windows: Be more explicit with Win32 APIs
This addresses several issues in a similar vein:
 - Use the Unicode APIs when possible, running nm on clang shows that we
   only use Unicode APIs except for FormatMessage, CreateSemaphore, and
   GetModuleHandle.  AFAICT, the latter two are coming from MinGW and
   not LLVM itself.
 - Make getMainExecutable more resilient.  It previously considered
   return values of zero from ::GetModuleFileNameA to be acceptable.
llvm-svn: 192096
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
