[PATCH] D81803: [Support] PR42623: Avoid setting the delete-on-close bit if a TempFile doesn't reside on a local drive
Andrew Evstyukhin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 23 06:31:42 PDT 2021
andrewevstyukhin added inline comments.
================
Comment at: llvm/lib/Support/Windows/Path.inc:408
+ SmallVector<wchar_t, 128> FinalPath;
+ if (std::error_code EC = realPathFromHandle(Handle, FinalPath))
+ return EC;
----------------
Hello,
I have a failure at this line when linking at RAM-disk https://sourceforge.net/projects/imdisk-toolkit/ under Windows 10.
```
DWORD CountChars = ::GetFinalPathNameByHandleW(
```
returns error 40 (ERROR_INVALID_FUNCTION, function_not_supported).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81803/new/
https://reviews.llvm.org/D81803
More information about the llvm-commits
mailing list