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: unassignedb...@nondot.org
          Reporter: raf...@espindo.la
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to