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

Reply via email to