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 d31d5ed commit 9af2babCopy full SHA for 9af2bab
include/swift/ABI/ObjectFile.h
@@ -54,12 +54,7 @@ class SwiftObjectFileFormatMachO : public SwiftObjectFileFormat {
54
}
55
56
bool sectionContainsReflectionData(llvm::StringRef sectionName) override {
57
- // For Mach-O, the caller must call this function twice, once with just the
58
- // section name (ex `__swift5_fieldmd`), and again with the segment
59
- // qualified section name (ex `__DATA,__const`).
60
- return sectionName.startswith("__swift5_") ||
61
- sectionName == "__DATA_CONST,__const" ||
62
- sectionName == "__DATA,__const";
+ return sectionName.startswith("__swift5_") || sectionName == "__const";
63
64
};
65
0 commit comments