[llvm-bugs] [Bug 27016] New: segfault in Writer<ELFT>::copyLocalSymbols() building FreeBSD/i386 with lld, due to local undefined symbol

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 21 12:10:25 PDT 2016


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

            Bug ID: 27016
           Summary: segfault in Writer<ELFT>::copyLocalSymbols() building
                    FreeBSD/i386 with lld, due to local undefined symbol
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 23214
    Classification: Unclassified

Created attachment 16065
  --> https://llvm.org/bugs/attachment.cgi?id=16065&action=edit
test case demonstrating lld segfault

Building FreeBSD/i386 with lld resulted in a segfault in lld in
copyLocalSymbols() at:

if (!F->getSection(Sym)->Live)

because F->getSection(Sym) returns nullptr.

Reproducible with the attached.

-- 
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/20160321/0fa0178d/attachment.html>


More information about the llvm-bugs mailing list