[llvm-bugs] [Bug 40094] New: lld-link ignores IMAGE_COMDAT_SELECT_* attributes
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Dec 18 17:04:18 PST 2018
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: unassignedbugs at nondot.org
Reporter: ruiu at google.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181219/bc3fddf4/attachment-0001.html>
More information about the llvm-bugs
mailing list