[LLVMbugs] [Bug 17411] New: DWARFContext fails to find line numbers for MIPS binaries

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 30 01:42:05 PDT 2013


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

            Bug ID: 17411
           Summary: DWARFContext fails to find line numbers for MIPS
                    binaries
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: csdavec at swan.ac.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Opening a MIPS ObjectFile (on an x86-64 host) allows correct disassembly, but
the DIContext created from it does not provide any line information.  Running
GNU binutils' objdump -dS shows source code interspersed with the disassembly,
so the information is definitely there.  

A dump of the MIContext shows that it has parsed a lot of debug information,
but the .line_tables section appears empty.  

I wonder if this is an endian issue somewhere in the DWARF parser, as I am
attempting to read a big-endian file on a little-endian system, which may not
be a well-tested situation.

-- 
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/20130930/1c444ac7/attachment.html>


More information about the llvm-bugs mailing list