forked from OSchip/llvm-project
[ORC-RT] Remove wrong getValue of ExecutorAddrDiff.
This commit is contained in:
parent
461d49909c
commit
cbd7bc66c4
|
@ -40,7 +40,7 @@ namespace {
|
||||||
|
|
||||||
Error validatePointerSectionExtent(const char *SectionName,
|
Error validatePointerSectionExtent(const char *SectionName,
|
||||||
const ExecutorAddrRange &SE) {
|
const ExecutorAddrRange &SE) {
|
||||||
if (SE.size().getValue() % sizeof(uintptr_t)) {
|
if (SE.size() % sizeof(uintptr_t)) {
|
||||||
std::ostringstream ErrMsg;
|
std::ostringstream ErrMsg;
|
||||||
ErrMsg << std::hex << "Size of " << SectionName << " 0x"
|
ErrMsg << std::hex << "Size of " << SectionName << " 0x"
|
||||||
<< SE.Start.getValue() << " -- 0x" << SE.End.getValue()
|
<< SE.Start.getValue() << " -- 0x" << SE.End.getValue()
|
||||||
|
|
Loading…
Reference in New Issue