[LLVMbugs] [Bug 4654] New: Assertion failed: (V == Op.getLiteralValue() && " Invalid abbrev for record!") when writing .bc file with metadata

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Jul 30 14:34:14 PDT 2009


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

           Summary: Assertion failed: (V == Op.getLiteralValue() && "Invalid
                    abbrev for record!") when writing .bc file with metadata
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Bitcode Writer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: benny.kra at gmail.com
                CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu


$ cat t.ll
@foo = constant i1 false

!a= !{!0}
!0 = metadata !{i1 false}

$ llvm-as t.ll
Assertion failed: (V == Op.getLiteralValue() && "Invalid abbrev for record!"),
function EmitAbbreviatedLiteral, file
/Users/d0k/Desktop/build/llvm/include/llvm/Bitcode/BitstreamWriter.h, line 266.


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