[llvm] 17c790c - [ORC][MIPS} Correct template parameter for stubAndPointerRangesOk function on Mips
Xiaodong Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 06:05:02 PDT 2022
Author: Xiaodong Liu
Date: 2022-07-07T21:00:25+08:00
New Revision: 17c790ca84caf37de9d06d74058c6d49cd3c4f7a
URL: https://github.com/llvm/llvm-project/commit/17c790ca84caf37de9d06d74058c6d49cd3c4f7a
DIFF: https://github.com/llvm/llvm-project/commit/17c790ca84caf37de9d06d74058c6d49cd3c4f7a.diff
LOG: [ORC][MIPS} Correct template parameter for stubAndPointerRangesOk function on Mips
It might be an oversight that pass OrcAArch64 as template parameter to stubAndPointerRangesOk on MIps.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D129076
Added:
Modified:
llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp b/llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp
index ef764a3f0d7fe..da8aaad08cad3 100644
--- a/llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp
@@ -665,7 +665,7 @@ void OrcMips32_Base::writeIndirectStubsBlock(
//
// i..
- assert(stubAndPointerRangesOk<OrcAArch64>(
+ assert(stubAndPointerRangesOk<OrcMips32_Base>(
StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) &&
"PointersBlock is out of range");
@@ -884,7 +884,7 @@ void OrcMips64::writeIndirectStubsBlock(
//
// ...
- assert(stubAndPointerRangesOk<OrcAArch64>(
+ assert(stubAndPointerRangesOk<OrcMips64>(
StubsBlockTargetAddress, PointersBlockTargetAddress, NumStubs) &&
"PointersBlock is out of range");
More information about the llvm-commits
mailing list