[compiler-rt] ae89be0 - [ORC-RT] Fix comments. NFC.

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


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

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

LOG: [ORC-RT] Fix comments. NFC.

Fix file name, symbol name, and formatting in comments.

Added: 
    

Modified: 
    compiler-rt/lib/orc/macho_tlv.x86-64.S
    compiler-rt/lib/orc/sysv_reenter.arm64.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/orc/macho_tlv.x86-64.S b/compiler-rt/lib/orc/macho_tlv.x86-64.S
index e3daf23e3029ea..04b5bd7eba676d 100644
--- a/compiler-rt/lib/orc/macho_tlv.x86-64.S
+++ b/compiler-rt/lib/orc/macho_tlv.x86-64.S
@@ -1,4 +1,4 @@
-//===-- orc_rt_macho_tlv.x86-64.s -------------------------------*- ASM -*-===//
+//===-- macho_tlv.x86-64.s --------------------------------------*- ASM -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/compiler-rt/lib/orc/sysv_reenter.arm64.S b/compiler-rt/lib/orc/sysv_reenter.arm64.S
index bd74a33bc63446..74941c459d6ac4 100644
--- a/compiler-rt/lib/orc/sysv_reenter.arm64.S
+++ b/compiler-rt/lib/orc/sysv_reenter.arm64.S
@@ -15,7 +15,7 @@
 
         .text
 
-        // Saves GPRs, calls __orc_rt_sysv_resolve
+        // Saves GPRs, calls __orc_rt_resolve
         .globl __orc_rt_sysv_reenter
 __orc_rt_sysv_reenter:
         // Save register state, set up new stack frome.
@@ -49,14 +49,14 @@ __orc_rt_sysv_reenter:
         stp   q2,  q3, [sp, #-32]!
         stp   q0,  q1, [sp, #-32]!
 
-        // Look up the return address and subtract 8 from it (on the
-        // assumption that it's a standard arm64 reentry trampoline) to get
-        // back the trampoline's address.
+        // Look up the return address and subtract 8 from it (on the assumption
+        // that it's a standard arm64 reentry trampoline) to get back the
+	// trampoline's address.
         sub   x0, x30, #8
 
-        // Call __orc_rt_sysv_resolve to look up the implementation
-        // corresponding to the calling stub, then store this in x17 (which
-        // we'll return to below.
+        // Call __orc_rt_resolve to look up the implementation corresponding to
+        // the calling stub, then store this in x17 (which we'll return to
+	// below).
 #if !defined(__APPLE__)
         bl    __orc_rt_resolve
 #else


        


More information about the llvm-commits mailing list