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: unassignedb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to