Skip to content

Commit aa34d98

Browse files
committed
Update tests to use macro section names
Automatically update the section names in the runtime and concurrency runtime tests.
1 parent f023bde commit aa34d98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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,__s58async_hook"))) = {
58+
__attribute__((section("__DATA," COMPATIBILITY_OVERRIDE_SECTION_NAME_swift_Concurrency))) = {
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,__swift58_hooks"))) = {
65+
__attribute__((section("__DATA," COMPATIBILITY_OVERRIDE_SECTION_NAME_swiftRuntime))) = {
6666
0,
6767
#define OVERRIDE(name, ret, attrs, ccAttrs, namespace, typedArgs, namedArgs) \
6868
name ## Override,

0 commit comments

Comments
 (0)