[llvm-bugs] [Bug 30951] New: --reproduce should replace forward slashes with backward slashes inside response files

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 8 12:25:28 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=30951

            Bug ID: 30951
           Summary: --reproduce should replace forward slashes with
                    backward slashes inside response files
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When we create cpio archives on Windows with --reproduce, the response file
contains path with forward slashes, e.g. `D\Dev\LSSDK\`

When we try to replay the link invocation via: ld.lld @response.txt, it fails
because UNIX only speaks backward slashes for paths.
Windows supports both forward and backward slashes just fine, so we might want
to do the substitution while processing. We already do this replacement in the
cpio file proper anyway.

-- 
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/20161108/ee2025fb/attachment.html>


More information about the llvm-bugs mailing list