aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-12-13 00:08:25 +0000
committerShoaib Meenai <smeenai@fb.com>2018-12-13 00:08:25 +0000
commit96929fdd428aafc9ed3d3a2070627fabb58db1b2 (patch)
tree6bb5cbf230cf29a65d4c38bb11ebccd63248fb63 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent589f1764fc5dbe8cfdd35791ed970b7e0932d7d7 (diff)
downloadllvm-96929fdd428aafc9ed3d3a2070627fabb58db1b2.zip
llvm-96929fdd428aafc9ed3d3a2070627fabb58db1b2.tar.gz
llvm-96929fdd428aafc9ed3d3a2070627fabb58db1b2.tar.bz2
[Support] Fix FileNameLength passed to SetFileInformationByHandle
The rename_internal function used for Windows has a minor bug where the filename length is passed as a character count instead of a byte count. Windows internally ignores this field, but other tools that hook NT api's may use the documented behavior: MSDN documentation specifying the size should be in bytes: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/ns-winbase-_file_rename_info Patch by Ben Hillis. Differential Revision: https://reviews.llvm.org/D55624 llvm-svn: 348995
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions