[LLVMbugs] [Bug 5481] New: Formal arguments missing from DWARF output unless -fast-isel is used

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 13 08:16:04 PST 2009


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

           Summary: Formal arguments missing from DWARF output unless -fast-
                    isel is used
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: richard at xmos.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3810)
 --> (http://llvm.org/bugs/attachment.cgi?id=3810)
test.bc

When the attached file is compiled with llc  the output is missing debug
information on the "foo" argument of f() unless the -fast-isel option is used.

$ llc -fast-isel < test.bc | grep foo || echo "Not found"
        .asciz  "foo"                                       # DW_AT_name

$ llc < test.bc | grep foo || echo "Not found"
Not found

The .bc file was produced from the following source using llvm-gcc:

int f(int foo)
{
  return foo;
}

I'm using svn r87105.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list