Skip to content

Commit 3b45ce6

Browse files
authored
Merge pull request #15905 from compnerd/protocol
stdlib: correct protocol registration on ELF
2 parents daef47c + 9969679 commit 3b45ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/ImageInspectionELF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void swift_addNewDSOImage(const void *addr) {
111111

112112
record(sections);
113113

114-
const auto &protocols_section = sections->swift4_protocol_conformances;
114+
const auto &protocols_section = sections->swift4_protocols;
115115
const void *protocols =
116116
reinterpret_cast<void *>(protocols_section.start);
117117
if (protocols_section.length)

0 commit comments

Comments
 (0)