https://bugs.llvm.org/show_bug.cgi?id=40094
Bug ID: 40094
Summary: lld-link ignores IMAGE_COMDAT_SELECT_* attributes
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedb...@nondot.org
Reporter: r...@google.com
CC: llvm-bugs@lists.llvm.org
lld-link currently ignores "Selection field" of a COMDAT symbol which is
described in the spec:
https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format#comdat-sections-object-only
lld-link's current behavior is IMAGE_COMDAT_SELECT_ANY. So, there are two or
more COMDAT section, lld-link just picks any section from them, even though
MSVC link.exe may print out an error if their attributes are not of SELECT_ANY.
This is simply a missing feature and needs to be implemented to lld-link.
--
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