[llvm-bugs] [Bug 31959] New: Segfaulting when using -r

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 14 12:48:49 PST 2017


http://bugs.llvm.org/show_bug.cgi?id=31959

            Bug ID: 31959
           Summary: Segfaulting when using -r
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: llvm-bugs at lists.llvm.org

This was introduced in r294816. lld is segfaulting on InputSection.cpp:246
because cast<DefinedRegular<ELFT>>(Body).Section->OutSec is null. I'm trying to
reduce the input and come with a test case, but it doesn't seem to be GCC
specific in this case, it's failing with both GCC and Clang.

-- 
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/20170214/6663c3df/attachment.html>


More information about the llvm-bugs mailing list