aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/SubtargetFeature.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-10-07 09:52:36 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-10-07 09:52:36 +0000
commit17a44966be8655ccc7772d842bda554f72cedcbd (patch)
tree8e91ed88666f4a3486f71220962aac00b5b8d198 /llvm/lib/MC/SubtargetFeature.cpp
parentf7c520ff66d2029b1440db6768c811055d1038f6 (diff)
downloadllvm-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/MC/SubtargetFeature.cpp')
0 files changed, 0 insertions, 0 deletions