From: jacquesguan Date: Fri, 16 Sep 2022 03:18:27 +0000 (+0800) Subject: [ORC-RT] Remove wrong getValue of ExecutorAddrDiff. X-Git-Tag: upstream/17.0.6~33393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbd7bc66c4f7988724d15bd9be465dbd35969281;p=platform%2Fupstream%2Fllvm.git [ORC-RT] Remove wrong getValue of ExecutorAddrDiff. --- diff --git a/compiler-rt/lib/orc/elfnix_platform.cpp b/compiler-rt/lib/orc/elfnix_platform.cpp index 9409921..771e21d 100644 --- a/compiler-rt/lib/orc/elfnix_platform.cpp +++ b/compiler-rt/lib/orc/elfnix_platform.cpp @@ -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()