[llvm] r313346 - [ORC] Fix a typo.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 14 23:50:19 PDT 2017
Author: lhames
Date: Thu Sep 14 23:50:19 2017
New Revision: 313346
URL: http://llvm.org/viewvc/llvm-project?rev=313346&view=rev
Log:
[ORC] Fix a typo.
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/OrcABISupport.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Orc/OrcABISupport.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/OrcABISupport.cpp?rev=313346&r1=313345&r2=313346&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/OrcABISupport.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/OrcABISupport.cpp Thu Sep 14 23:50:19 2017
@@ -117,7 +117,7 @@ void OrcAArch64::writeTrampolines(uint8_
for (unsigned I = 0; I < NumTrampolines; ++I, OffsetToPtr -= TrampolineSize) {
Trampolines[3 * I + 0] = 0xaa1e03f1; // mov x17, x30
- Trampolines[3 * I + 1] = 0x58000010 | (OffsetToPtr << 3); // mov x16, Lptr
+ Trampolines[3 * I + 1] = 0x58000010 | (OffsetToPtr << 3); // adr x16, Lptr
Trampolines[3 * I + 2] = 0xd63f0200; // blr x16
}
More information about the llvm-commits
mailing list