aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorMarkus Mützel <markus.muetzel@gmx.de>2023-05-27 14:54:18 +0200
committerMarkus Mützel <markus.muetzel@gmx.de>2023-05-27 14:54:18 +0200
commitfd0d846633b05e1d0072754aea7f3985be36c0dc (patch)
tree95d73c843b217d09c954bfa4d4de739e7e10f28c /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent48985f58b41a74d012bc08ba3e2c14a3eb171314 (diff)
downloadllvm-fd0d846633b05e1d0072754aea7f3985be36c0dc.zip
llvm-fd0d846633b05e1d0072754aea7f3985be36c0dc.tar.gz
llvm-fd0d846633b05e1d0072754aea7f3985be36c0dc.tar.bz2
[flang][runtime] Support all non-ASCII characters in temporary path on Windows
If the path to the TEMP folder contains (non-ASCII) characters that cannot be encoded in the current 8-bit locale of the user, openfile_mkstemp might fail on Windows. That is an unlikely scenario. But given that the path to the default TEMP folder on Windows contains the Windows user name, it is still possible. Use the wide character Windows API to avoid that (unlikely) issue. Reviewed By: vzakhari Differential Revision: https://reviews.llvm.org/D151571
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions