[llvm-bugs] [Bug 28792] New: lld likely mislinks .rsrc sections

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 31 17:58:18 PDT 2016


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

            Bug ID: 28792
           Summary: lld likely mislinks .rsrc sections
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

.rsrc sections contain tree descriptions of resources (see file linked to in
bug 28791, and the coff spec). This means .rsrc sections can't just be
concatenated but their trees must be merged (and duplicate type/name/lang
entries must cause errors). As far as I can tell, lld doesn't do this, which
means it'll produce broken outputs on links that contain more than one .res
file (or more than one input file with a .rsrc section).

-- 
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/20160801/79297665/attachment.html>


More information about the llvm-bugs mailing list