mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[embedded] DisableLegacyTypeInfo in embedded mode and add missing REQUIRES: swift_in_compiler in a test
This commit is contained in:
@@ -3107,6 +3107,7 @@ bool CompilerInvocation::parseArgs(
|
||||
setBridgingHeaderFromFrontendOptions(ClangImporterOpts, FrontendOpts);
|
||||
if (LangOpts.hasFeature(Feature::Embedded)) {
|
||||
IRGenOpts.InternalizeAtLink = true;
|
||||
IRGenOpts.DisableLegacyTypeInfo = true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user