Skip to content

Commit 149e2d4

Browse files
authored
Merge pull request #59886 from DougGregor/runtime-compatibility-hooks-5.8
Update runtime compatibility hooks to version 5.8
2 parents 43032e8 + 3c892a1 commit 149e2d4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

stdlib/public/CompatibilityOverride/CompatibilityOverride.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ namespace swift {
8989
// Override section name computation. `COMPATIBILITY_OVERRIDE_SECTION_NAME` will
9090
// resolve to string literal containing the appropriate section name for the
9191
// current library.
92-
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swiftRuntime "__swift56_hooks"
93-
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swift_Concurrency "__s_async_hook"
92+
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swiftRuntime "__swift58_hooks"
93+
#define COMPATIBILITY_OVERRIDE_SECTION_NAME_swift_Concurrency "__s58async_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,__s58async_hook"))) = {
5959
0,
6060
#define OVERRIDE(name, ret, attrs, ccAttrs, namespace, typedArgs, namedArgs) \
6161
name##Override,

unittests/runtime/CompatibilityOverrideRuntime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct OverrideSection {
6262
};
6363

6464
OverrideSection RuntimeOverrides
65-
__attribute__((section("__DATA,__swift56_hooks"))) = {
65+
__attribute__((section("__DATA,__swift58_hooks"))) = {
6666
0,
6767
#define OVERRIDE(name, ret, attrs, ccAttrs, namespace, typedArgs, namedArgs) \
6868
name ## Override,

0 commit comments

Comments
 (0)