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 1212
1313namespace swift {
1414
15- // / Represents the eight reflection sections used by Swift
15+ // / Represents the nine reflection sections used by Swift
1616enum ReflectionSectionKind : uint8_t {
1717 fieldmd,
1818 assocty,
@@ -21,7 +21,8 @@ enum ReflectionSectionKind : uint8_t {
2121 typeref,
2222 reflstr,
2323 conform,
24- protocs
24+ protocs,
25+ acfuncs,
2526};
2627
2728// / Abstract base class responsible for providing the correct reflection section
@@ -58,6 +59,8 @@ class SwiftObjectFileFormatMachO : public SwiftObjectFileFormat {
5859 return " __swift5_proto" ;
5960 case protocs:
6061 return " __swift5_protos" ;
62+ case acfuncs:
63+ return " __swift5_acfuncs" ;
6164 }
6265 llvm_unreachable (" Section type not found." );
6366 }
@@ -91,6 +94,8 @@ class SwiftObjectFileFormatELF : public SwiftObjectFileFormat {
9194 return " swift5_protocol_conformances" ;
9295 case protocs:
9396 return " swift5_protocols" ;
97+ case acfuncs:
98+ return " swift5_accessible_functions" ;
9499 }
95100 llvm_unreachable (" Section type not found." );
96101 }
@@ -121,6 +126,8 @@ class SwiftObjectFileFormatCOFF : public SwiftObjectFileFormat {
121126 return " .sw5prtc$B" ;
122127 case protocs:
123128 return " .sw5prt$B" ;
129+ case acfuncs:
130+ return " .sw5acfn$B" ;
124131 }
125132 llvm_unreachable (" Section not found." );
126133 }
You can’t perform that action at this time.
0 commit comments