[ORC-RT] Remove wrong getValue of ExecutorAddrDiff.

This commit is contained in:
jacquesguan 2022-09-16 11:18:27 +08:00
parent 461d49909c
commit cbd7bc66c4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ namespace {
Error validatePointerSectionExtent(const char *SectionName,
const ExecutorAddrRange &SE) {
if (SE.size().getValue() % sizeof(uintptr_t)) {
if (SE.size() % sizeof(uintptr_t)) {
std::ostringstream ErrMsg;
ErrMsg << std::hex << "Size of " << SectionName << " 0x"
<< SE.Start.getValue() << " -- 0x" << SE.End.getValue()