File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ struct MetadataSections {
96
96
MetadataSectionRange swift5_capture;
97
97
MetadataSectionRange swift5_mpenum;
98
98
MetadataSectionRange swift5_accessible_functions;
99
+ MetadataSectionRange swift5_runtime_attributes;
99
100
};
100
101
101
102
#ifdef __cplusplus
Original file line number Diff line number Diff line change 37
37
// / The Mach-O section name for the section containing accessible functions.
38
38
// / This lives within SEG_TEXT.
39
39
#define MachOAccessibleFunctionsSection " __swift5_acfuncs"
40
+ // / The Mach-O section name for the section containing runtime attributes.
41
+ // / This lives within SEG_TEXT.
42
+ #define MachORuntimeAttributesSection " __swift5_rattrs"
40
43
41
44
#define MachOTextSegment " __TEXT"
42
45
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ DECLARE_SWIFT_SECTION(sw5bltn)
54
54
DECLARE_SWIFT_SECTION(sw5cptr)
55
55
DECLARE_SWIFT_SECTION(sw5mpen)
56
56
DECLARE_SWIFT_SECTION(sw5acfn)
57
+ DECLARE_SWIFT_SECTION(sw5ratt)
57
58
}
58
59
59
60
namespace {
@@ -86,6 +87,7 @@ static void swift_image_constructor() {
86
87
SWIFT_SECTION_RANGE (sw5cptr),
87
88
SWIFT_SECTION_RANGE (sw5mpen),
88
89
SWIFT_SECTION_RANGE (sw5acfn),
90
+ SWIFT_SECTION_RANGE (sw5ratt),
89
91
};
90
92
91
93
#undef SWIFT_SECTION_RANGE
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ DECLARE_SWIFT_SECTION(swift5_builtin)
42
42
DECLARE_SWIFT_SECTION(swift5_capture)
43
43
DECLARE_SWIFT_SECTION(swift5_mpenum)
44
44
DECLARE_SWIFT_SECTION(swift5_accessible_functions)
45
+ DECLARE_SWIFT_SECTION(swift5_runtime_attributes)
45
46
}
46
47
47
48
#undef DECLARE_SWIFT_SECTION
@@ -77,6 +78,7 @@ static void swift_image_constructor() {
77
78
SWIFT_SECTION_RANGE (swift5_capture),
78
79
SWIFT_SECTION_RANGE (swift5_mpenum),
79
80
SWIFT_SECTION_RANGE (swift5_accessible_functions),
81
+ SWIFT_SECTION_RANGE (swift5_runtime_attributes),
80
82
};
81
83
82
84
#undef SWIFT_SECTION_RANGE
You can’t perform that action at this time.
0 commit comments