Displaying 2 results from an estimated 2 matches for "origbufptr".
2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
Hi Rafael,
Would you mind waiting for Derek to come back from vacation to discuss
this? We do use this code and could improve how it's used and tested within
LLVM. Derek is the best person to discuss this, he'll be back in
mid-January.
Thanks,
JF
On Fri, Dec 19, 2014 at 6:41 AM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
>
> > I CC'ed llvmdev to put a
2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
...odies, the current bit is
- // pointing to the END_BLOCK record after them. Now make sure the rest
- // of the bits in the module have been read.
- if (NextUnreadBit)
- ParseModule(true);
Hmm, didn't read too closely, but just looks different from what it used to
do...
+ const uint8_t *OrigBufPtr = BufPtr;
// If we have a wrapper header, parse it and ignore the non-bc file
contents.
// The magic number is 0x0B17C0DE stored in little endian.
if (isBitcodeWrapper(BufPtr, BufEnd))
if (SkipBitcodeWrapperHeader(BufPtr, BufEnd, true))
return Error(BitcodeError::InvalidBitcode...