[LLVMbugs] [Bug 15149] New: Module dump crashes on unknown DW_AT_language values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 3 21:06:08 PST 2013


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

             Bug #: 15149
           Summary: Module dump crashes on unknown DW_AT_language values
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: christophg+llvm at grenz-bonn.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9960
  --> http://llvm.org/bugs/attachment.cgi?id=9960
Testcase - Crashes when dumped with opt -print-module

Module::dump() crashes when trying to print the comment for an DWARF compile
unit descriptor containing an unknown language tag.

Error message:
llvm::StringRef::StringRef(const char*): Assertion `Str && "StringRef cannot be
built from a NULL argument"' failed.

Can be reproduced with opt -print-module user_lang.ll >/dev/null

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