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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to