Skip to content

Commit 3f35094

Browse files
gbaraldiKristofferC
authored and
KristofferC
committed
Fix trampoline assembly for build on clang 18 on apple silicon (JuliaLang#54634)
This avoids a: `error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs` error. That error was introduced in https://reviews.llvm.org/D155245#4657075 see also llvm/llvm-project#72802 (cherry picked from commit a4e793e)
1 parent 7c22da6 commit 3f35094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/trampolines/trampolines_aarch64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
#define XX(name) \
77
.global CNAME(name) SEP \
8+
CNAME(name)##: SEP \
89
.cfi_startproc SEP \
910
.p2align 2 SEP \
10-
CNAME(name)##: SEP \
1111
adrp x16, PAGE(CNAME(name##_addr)) SEP \
1212
ldr x16, [x16, PAGEOFF(CNAME(name##_addr))] SEP \
1313
br x16 SEP \

0 commit comments

Comments
 (0)