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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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

Reply via email to