Alternatively we could define the string as TCHAR.
This fixes building with clang-cl in setups where UNICODE isn't defined (which seems to be the case when building compiler-rt standalone outside of the llvm tree).
Differential D58766
[sanitizers] Explicitly use GetModuleFileNameW with wchar_t mstorsjo on Feb 28 2019, 2:44 AM. Authored by
Details Alternatively we could define the string as TCHAR. This fixes building with clang-cl in setups where UNICODE isn't defined (which seems to be the case when building compiler-rt standalone outside of the llvm tree).
Diff Detail
|