Skip to content

Commit 5f3489d

Browse files
authored
Stop marking reflection metadata sections as 'no_dead_strip' on Darwin (#41224)
1 parent 19b4492 commit 5f3489d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenReflection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ static std::string getReflectionSectionName(IRGenModule &IGM,
12841284
case llvm::Triple::MachO:
12851285
assert(LongName.size() <= 7 &&
12861286
"Mach-O section name length must be <= 16 characters");
1287-
OS << "__TEXT,__swift5_" << LongName << ", regular, no_dead_strip";
1287+
OS << "__TEXT,__swift5_" << LongName << ", regular";
12881288
break;
12891289
}
12901290
return std::string(OS.str());

0 commit comments

Comments
 (0)