We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08e55d9 commit 199b73dCopy full SHA for 199b73d
libcxx/src/include/overridable_function.h
@@ -67,7 +67,7 @@ _LIBCPP_END_NAMESPACE_STD
67
68
# define _LIBCPP_CAN_DETECT_OVERRIDDEN_FUNCTION 1
69
# define _LIBCPP_OVERRIDABLE_FUNCTION(symbol, type, name, arglist) \
70
- static type symbol##_impl__ arglist __asm__(_LIBCPP_TOSTRING(symbol##_impl__)); \
+ static type symbol##_impl__ arglist __asm__("_" _LIBCPP_TOSTRING(symbol##_impl__)); \
71
__asm__(".globl _" _LIBCPP_TOSTRING(symbol)); \
72
__asm__(".set _" _LIBCPP_TOSTRING(symbol) ", _" _LIBCPP_TOSTRING(symbol##_impl__)); \
73
extern __typeof(symbol##_impl__) name __attribute__((weak_import)); \
0 commit comments