Skip to content

Commit 1f3ba4d

Browse files
jroelofsgithub-actions[bot]
authored andcommitted
Automerge: [compiler-rt] Fix a bug introduced into DEFINE_COMPILERRT_FUNCTION_ALIAS (#156979)
... during a refactoring for arm64ec in #137960 6ade80c. The subtle change here results in a change in symbols in the library from: ``` 00000038 T ___gesf2 00000038 T ___gtsf2 ``` to: ``` I ___gesf2 (indirect for __gtsf2) 00000038 T ___gtsf2 ``` ... which is a breaking change on Mach-O platforms. rdar://157846316
2 parents 17aa6e9 + 4b55593 commit 1f3ba4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/builtins/assembly.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
.globl FUNC_SYMBOL(SYMBOL_NAME(name)) SEPARATOR \
305305
SYMBOL_IS_FUNC(SYMBOL_NAME(name)) SEPARATOR \
306306
DECLARE_SYMBOL_VISIBILITY(name) SEPARATOR \
307-
.set FUNC_SYMBOL(SYMBOL_NAME(name)), FUNC_SYMBOL(target) SEPARATOR
307+
.set FUNC_SYMBOL(SYMBOL_NAME(name)), FUNC_SYMBOL(SYMBOL_NAME(target)) SEPARATOR
308308

309309
#if defined(__ARM_EABI__)
310310
#define DEFINE_AEABI_FUNCTION_ALIAS(aeabi_name, name) \

0 commit comments

Comments
 (0)