We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ede7ac commit 84f4465Copy full SHA for 84f4465
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
@@ -654,11 +654,10 @@ bool RuntimeDyldELF::resolveLoongArch64ShortBranch(
654
if (Loc == GlobalSymbolTable.end())
655
return false;
656
const auto &SymInfo = Loc->second;
657
- Address =
658
- uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset(
659
- SymInfo.getOffset()));
+ Address = Sections[SymInfo.getSectionID()].getLoadAddressWithOffset(
+ SymInfo.getOffset());
660
} else {
661
- Address = uint64_t(Sections[Value.SectionID].getLoadAddress());
+ Address = Sections[Value.SectionID].getLoadAddress();
662
}
663
uint64_t Offset = RelI->getOffset();
664
uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset);
0 commit comments