Displaying 3 results from an estimated 3 matches for "bitstreamentry".
2020 Aug 28
2
End-to-end -fembed-bitcode .llvmbc and .llvmcmd
...;
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 have reached the end of the module.
return En...
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote:
>
> On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>>
>> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
2020 Aug 28
4
End-to-end -fembed-bitcode .llvmbc and .llvmcmd
...tr, 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 mu...