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 56a8f50 commit 73d1010Copy full SHA for 73d1010
lib/Serialization/ModuleSummaryIndexer.cpp
@@ -314,7 +314,7 @@ bool shouldPreserveFunction(const SILFunction &F) {
314
F.getName().equals("$ss23_getErrorDomainNSStringyyXlSPyxGs0B0RzlF"))) {
315
return false;
316
}
317
- if (F.getName().equals(SWIFT_ENTRY_POINT_FUNCTION)) {
+ if (F.getName().equals(F.getASTContext().getEntryPointFunctionName())) {
318
return true;
319
320
0 commit comments