[LLVMbugs] [Bug 21882] New: Crash in bitcode writer when high bit is set in metadata string

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 11 13:10:06 PST 2014


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

            Bug ID: 21882
           Summary: Crash in bitcode writer when high bit is set in
                    metadata string
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Bitcode Writer
          Assignee: unassignedbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
!1 = metadata !{metadata !"\80"}
!llvm.stuff = !{!1}

src/include/llvm/Bitcode/BitstreamWriter.h:113: void
llvm::BitstreamWriter::Emit(uint32_t, unsigned int): Assertion `(Val & ~(~0U >>
(32-NumBits))) == 0 && "High bits set!"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141211/1c775ff4/attachment.html>


More information about the llvm-bugs mailing list