Displaying 2 results from an estimated 2 matches for "canskiptopo".
Did you mean:
canskiptopos
2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
...bytes were skipped so that
later, reading address N would mean reading N + BytesSkipped. It also
subtracted the skipped bytes from BytesRead, and I haven't looked closely
enough to see if there is similar state being tracked anymore.
@@ -218,18 +214,13 @@ public:
void freeState();
bool canSkipToPos(size_t pos) const {
- // pos can be skipped to if it is a valid address or one byte past the
end.
- return pos == 0 || BitStream->getBitcodeBytes().isValidAddress(
- static_cast<uint64_t>(pos - 1));
+ size_t Size = BitStream->getSize();
+ return pos < Size;
}...
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