[LLVMbugs] [Bug 8276] New: Invalid metadata is simply omitted, no warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 1 20:45:45 PDT 2010


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

           Summary: Invalid metadata is simply omitted, no warning
           Product: libraries
           Version: 2.7
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clemahieu at gmail.com
                CC: llvmbugs at cs.uiuc.edu


When outputting machine assembly llc will simply drop any debug metadata that
it malformed.  This makes it very hard to figure out bugs (obviously).

Two recommended warnings to add:
- Return instruction must have a DebugLoc
- Subprogram name metadata must match function name

-- 
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