[llvm] a1739d2 - [JITLink][aarch64] Fix comment for trampoline instruction sequence. NFC.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 22:26:29 PST 2024


Author: Lang Hames
Date: 2024-12-13T06:26:19Z
New Revision: a1739d2501e813f629268f99a2ab3485aaf02ba1

URL: https://github.com/llvm/llvm-project/commit/a1739d2501e813f629268f99a2ab3485aaf02ba1
DIFF: https://github.com/llvm/llvm-project/commit/a1739d2501e813f629268f99a2ab3485aaf02ba1.diff

LOG: [JITLink][aarch64] Fix comment for trampoline instruction sequence. NFC.

The comment was from a prototype and doesn't reflect the final instruction
sequence.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h b/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
index 1fa957178a122e..62221caa71c9e9 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
@@ -758,7 +758,7 @@ inline Symbol &createAnonymousPointerJumpStub(LinkGraph &G,
 /// AArch64 reentry trampoline.
 ///
 /// Contains the instruction sequence for a trampoline that stores its return
-/// address on the stack and passes its own address in x0:
+/// address (and stack pointer) on the stack and calls the given reentry symbol:
 ///   STP  x29, x30, [sp, #-16]!
 ///   BL   <reentry-symbol>
 extern const char ReentryTrampolineContent[8];


        


More information about the llvm-commits mailing list