DataExtractor::getU64 modifies the OffsetPtr which also pass to RelocateOrElse which breaks on Windows. This addresses the issue introduced in r349120.
LGTM
This was undefined behavior before C++17 and indeterminate since C++17...
Did you mean AddrPtr rather than AddrOff?
Did you mean FuncPtr rather than FuncOff?
Did you mean AddrPtr rather than AddrOff?