Skip to content

Commit 54c1043

Browse files
committed
Use versioned override hooks for the concurrency runtime
1 parent ecb5923 commit 54c1043

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/CompatibilityOverride/CompatibilityOverride.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace swift {
9090
// resolve to string literal containing the appropriate section name for the
9191
// current library.
9292
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swiftRuntime "__swift57_hooks"
93-
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swift_Concurrency "__s_async_hook"
93+
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swift_Concurrency "__s57async_hook"
9494

9595
#define COMPATIBILITY_OVERRIDE_SECTION_NAME \
9696
COMPATIBILITY_CONCAT(COMPATIBILITY_OVERRIDE_SECTION_NAME_, \

unittests/runtime/CompatibilityOverrideConcurrency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ struct OverrideSection {
5555
};
5656

5757
OverrideSection ConcurrencyOverrides
58-
__attribute__((section("__DATA,__s_async_hook"))) = {
58+
__attribute__((section("__DATA,__s57async_hook"))) = {
5959
0,
6060
#define OVERRIDE(name, ret, attrs, ccAttrs, namespace, typedArgs, namedArgs) \
6161
name##Override,

0 commit comments

Comments
 (0)