[LLVMbugs] [Bug 20139] New: llvm-objdump exits with assertion failure on file with no sections (e.g. FreeBSD core files)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 26 14:37:57 PDT 2014


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

            Bug ID: 20139
           Summary: llvm-objdump exits with assertion failure on file with
                    no sections (e.g. FreeBSD core files)
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

feynman% bin/llvm-readobj -file-headers sleep.core
...
  SectionHeaderCount: 0
...



feynman% bin/llvm-objdump -h sleep.core

sleep.core:     file format ELF64-x86-64

Sections:
Idx Name          Size      Address          Type
Assertion failed: (SectionHeaderTable && "SectionHeaderTable not
initialized!"), function getNumSections, file ../include/llvm/Object/ELF.h,
line 606.
Stack dump:
0.      Program arguments: bin/llvm-objdump -h sleep.core 
zsh: abort (core dumped)  bin/llvm-objdump -h sleep.core

-- 
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/20140626/d11c33dc/attachment.html>


More information about the llvm-bugs mailing list