search for: isvalidaddress

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

2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
...osely 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; } Is the "pos can be skipped ... or one byte past the end" behavior still needed, or was it some artifact of how isValidAddress worked? On Fri Dec 19 2014 at 1:03...
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