File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
namespace swift {
14
14
15
- // / Represents the eight reflection sections used by Swift
15
+ // / Represents the nine reflection sections used by Swift
16
16
enum ReflectionSectionKind : uint8_t {
17
17
fieldmd,
18
18
assocty,
@@ -21,7 +21,8 @@ enum ReflectionSectionKind : uint8_t {
21
21
typeref,
22
22
reflstr,
23
23
conform,
24
- protocs
24
+ protocs,
25
+ acfuncs,
25
26
};
26
27
27
28
// / Abstract base class responsible for providing the correct reflection section
@@ -58,6 +59,8 @@ class SwiftObjectFileFormatMachO : public SwiftObjectFileFormat {
58
59
return " __swift5_proto" ;
59
60
case protocs:
60
61
return " __swift5_protos" ;
62
+ case acfuncs:
63
+ return " __swift5_acfuncs" ;
61
64
}
62
65
llvm_unreachable (" Section type not found." );
63
66
}
@@ -91,6 +94,8 @@ class SwiftObjectFileFormatELF : public SwiftObjectFileFormat {
91
94
return " swift5_protocol_conformances" ;
92
95
case protocs:
93
96
return " swift5_protocols" ;
97
+ case acfuncs:
98
+ return " swift5_accessible_functions" ;
94
99
}
95
100
llvm_unreachable (" Section type not found." );
96
101
}
@@ -121,6 +126,8 @@ class SwiftObjectFileFormatCOFF : public SwiftObjectFileFormat {
121
126
return " .sw5prtc$B" ;
122
127
case protocs:
123
128
return " .sw5prt$B" ;
129
+ case acfuncs:
130
+ return " .sw5acfn$B" ;
124
131
}
125
132
llvm_unreachable (" Section not found." );
126
133
}
You can’t perform that action at this time.
0 commit comments