Skip to content

Commit ca6657e

Browse files
committed
[compiler-rt] Fix a bug introduced into DEFINE_COMPILERRT_FUNCTION_ALIAS
... during a refactoring for arm64ec in llvm#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
1 parent 556ff19 commit ca6657e

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)