[llvm-bugs] [Bug 36868] New: crash on invalid

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 22 10:37:34 PDT 2018


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

            Bug ID: 36868
           Summary: crash on invalid
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-dwarfdump
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael at espindo.la
                CC: llvm-bugs at lists.llvm.org

Created attachment 20104
  --> https://bugs.llvm.org/attachment.cgi?id=20104&action=edit
testcase

The address size of the attached testcase is wrong. It is for i386, so it
should be 4.

Running "llvm-dwarfdump -debug-line test.o" crashes with

lib/DebugInfo/DWARF/DWARFDebugLine.cpp:555: bool
llvm::DWARFDebugLine::LineTable::parse(llvm::DWARFDataExtractor &, uint32_t *,
const llvm::DWARFContext &, const llvm::DWARFUnit *, llvm::raw_ostrea
m *): Assertion `DebugLineData.getAddressSize() == Len - 1' failed.

-- 
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/20180322/55124809/attachment.html>


More information about the llvm-bugs mailing list