Skip to content

Commit f1e0e27

Browse files
committed
Append the suffix to the declaration
1 parent 63f365b commit f1e0e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/src/include/overridable_function.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ _LIBCPP_END_NAMESPACE_STD
9999

100100
# define _LIBCPP_CAN_DETECT_OVERRIDDEN_FUNCTION 1
101101
# define _LIBCPP_OVERRIDABLE_FUNCTION(symbol, type, name, arglist) \
102-
static type symbol##_impl__ arglist __asm__(_LIBCPP_TOSTRING(symbol##_impl__)); \
102+
static type symbol##_impl__ arglist __asm__(_LIBCPP_TOSTRING(symbol##_impl__) _LIBCPP_SYMBOL_SUFFIX); \
103103
[[gnu::weak, gnu::alias(_LIBCPP_TOSTRING(symbol##_impl__) _LIBCPP_SYMBOL_SUFFIX)]] type name arglist; \
104104
_LIBCPP_BEGIN_NAMESPACE_STD \
105105
template <> \

0 commit comments

Comments
 (0)