search for: entrystart

Displaying 2 results from an estimated 2 matches for "entrystart".

2020 Aug 28
2
End-to-end -fembed-bitcode .llvmbc and .llvmcmd
...l_error("Invalid bitcode wrapper"); return EndBufPtr - BufPtr; } if (!isRawBitcode(BufPtr, EndBufPtr)) report_fatal_error("Invalid magic bytes; not a bitcode file?"); BitstreamCursor Reader(Buffer); Reader.Read(32); // skip signature while (true) { size_t EntryStart = Reader.getCurrentByteNo(); BitstreamEntry Entry = Reader.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs); if (Entry.Kind == BitstreamEntry::SubBlock) { if (Reader.SkipBlock()) report_fatal_error("Invalid bitcode file"); } else { // We must hav...
2020 Aug 28
4
End-to-end -fembed-bitcode .llvmbc and .llvmcmd
...t;> } >> >> if (!isRawBitcode(BufPtr, EndBufPtr)) >> report_fatal_error("Invalid magic bytes; not a bitcode file?"); >> >> BitstreamCursor Reader(Buffer); >> Reader.Read(32); // skip signature >> while (true) { >> size_t EntryStart = Reader.getCurrentByteNo(); >> BitstreamEntry Entry = >> Reader.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs); >> if (Entry.Kind == BitstreamEntry::SubBlock) { >> if (Reader.SkipBlock()) >> report_fatal_error("Invalid bitcode f...