[llvm-bugs] [Bug 45282] lld-link fails if PDB path is an Alternate Data Stream
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 25 12:19:46 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45282
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rnk at google.com
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
I had heard of alternate data streams from Mac, but I hadn't realized they were
a feature of NTFS too until this issue.
Fundamentally LLD is trying to:
- write output to a temp file
- rename over the intended output file on success
The call to TempFile::keep defined here returns an error:
https://github.com/llvm/llvm-project/blob/d8981ce5b9f8caa567613b2bf5aa3095e0156130/llvm/lib/Support/Path.cpp#L1183
I think fixing it would be quite involved, and probably depends on changing our
entire output file writing scheme. I don't think it's feasible.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200325/a3e9e0c0/attachment.html>
More information about the llvm-bugs
mailing list