[llvm-bugs] [Bug 39390] New: lld is using a buggy way to insert lto.tmp object into objectfile list in addCombinedLTOObject

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 22 16:54:31 PDT 2018


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

            Bug ID: 39390
           Summary: lld is using a buggy way to insert lto.tmp object into
                    objectfile list in addCombinedLTOObject
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: yinma at codeaurora.org
                CC: llvm-bugs at lists.llvm.org

The current way is to push_back all generated lto.tmp objects into  object file
list. This way will create wrong order in init_array. The common way is to
insert all lto.tmp objects right after the position where the first bitcode
object appears in object file list.

-- 
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/20181022/6b40622d/attachment-0001.html>


More information about the llvm-bugs mailing list