Skip to content

Commit b549239

Browse files
authored
Merge pull request swiftlang#23319 from compnerd/coff-metadata-section
IRGen: correct field metadata section name on COFF
2 parents 360ca75 + a9bf6c6 commit b549239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2858,7 +2858,7 @@ llvm::Constant *IRGenModule::emitFieldDescriptors() {
28582858
sectionName = "swift5_fieldmd";
28592859
break;
28602860
case llvm::Triple::COFF:
2861-
sectionName = ".swift5_fieldmd";
2861+
sectionName = ".sw5flmd$B";
28622862
break;
28632863
case llvm::Triple::UnknownObjectFormat:
28642864
llvm_unreachable("Don't know how to emit field records table for "

0 commit comments

Comments
 (0)