[llvm] [BOLT][AArch64] Patch functions targeted by optional relocs (PR #138750)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Wed May 7 01:42:49 PDT 2025
================
@@ -28,15 +32,21 @@
_start:
# FDATA: 0 [unknown] 0 1 _start 0 0 100
.cfi_startproc
+
+## Check that the code at the orignal location is converted into a veneer/thunk.
+# CHECK-PATCH-LABEL: <_start.org.0>
+# CHECK-PATCH-NEXT: adrp x16
----------------
paschalis-mpeis wrote:
nit: typo
Could also show that the veneer is pointing back to the hot code.
```suggestion
## Check that the code at the original location is converted into a veneer/thunk.
# CHECK-PATCH-LABEL: <_start.org.0>
# CHECK-PATCH-NEXT: adrp x16, {{.*}} <_start>
```
https://github.com/llvm/llvm-project/pull/138750
More information about the llvm-commits
mailing list