We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4926df commit c204a58Copy full SHA for c204a58
include/swift/ABI/ObjectFile.h
@@ -66,12 +66,7 @@ class SwiftObjectFileFormatMachO : public SwiftObjectFileFormat {
66
}
67
68
bool sectionContainsReflectionData(llvm::StringRef sectionName) override {
69
- // For Mach-O, the caller must call this function twice, once with just the
70
- // section name (ex `__swift5_fieldmd`), and again with the segment
71
- // qualified section name (ex `__DATA,__const`).
72
- return sectionName.startswith("__swift5_") ||
73
- sectionName == "__DATA_CONST,__const" ||
74
- sectionName == "__DATA,__const";
+ return sectionName.startswith("__swift5_") || sectionName == "__const";
75
76
};
77
0 commit comments