[compiler-rt] bc7e5d2 - [XRay][AArch64] Add .size directive
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 23 18:44:35 PDT 2023
Author: Fangrui Song
Date: 2023-06-23T18:44:31-07:00
New Revision: bc7e5d27e94f8e3a223da40ab3bf4745b4061d6d
URL: https://github.com/llvm/llvm-project/commit/bc7e5d27e94f8e3a223da40ab3bf4745b4061d6d
DIFF: https://github.com/llvm/llvm-project/commit/bc7e5d27e94f8e3a223da40ab3bf4745b4061d6d.diff
LOG: [XRay][AArch64] Add .size directive
Added:
Modified:
compiler-rt/lib/xray/xray_trampoline_AArch64.S
Removed:
################################################################################
diff --git a/compiler-rt/lib/xray/xray_trampoline_AArch64.S b/compiler-rt/lib/xray/xray_trampoline_AArch64.S
index c3d93f5790826..945d990e89b60 100644
--- a/compiler-rt/lib/xray/xray_trampoline_AArch64.S
+++ b/compiler-rt/lib/xray/xray_trampoline_AArch64.S
@@ -52,6 +52,7 @@ ASM_SYMBOL(__xray_FunctionEntry):
1:
RESTORE_REGISTERS
ret
+ASM_SIZE(__xray_FunctionEntry)
.p2align 2
.global ASM_SYMBOL(__xray_FunctionExit)
@@ -77,6 +78,7 @@ ASM_SYMBOL(__xray_FunctionExit):
1:
RESTORE_REGISTERS
ret
+ASM_SIZE(__xray_FunctionExit)
.p2align 2
.global ASM_SYMBOL(__xray_FunctionTailExit)
@@ -102,6 +104,7 @@ ASM_SYMBOL(__xray_FunctionTailExit):
1:
RESTORE_REGISTERS
ret
+ASM_SIZE(__xray_FunctionTailExit)
.global ASM_SYMBOL(__xray_CustomEvent)
ASM_HIDDEN(__xray_CustomEvent)
More information about the llvm-commits
mailing list