mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Emit reflection metadata, but not reflection names, by default
This allows the reflection type lowering test to pass with the default build configuration.
This commit is contained in:
@@ -1262,17 +1262,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_enable_reflection_metadata)) {
|
||||
Opts.StripReflectionMetadata = false;
|
||||
Opts.StripReflectionNames = false;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_strip_reflection_names)) {
|
||||
Opts.StripReflectionNames = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_strip_reflection_metadata)) {
|
||||
Opts.StripReflectionMetadata = true;
|
||||
Opts.StripReflectionNames = true;
|
||||
Opts.EnableReflectionMetadata = true;
|
||||
if (Args.hasArg(OPT_enable_reflection_names)) {
|
||||
Opts.EnableReflectionNames = true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user