mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #23465 from adrian-prantl/48018240-irgen
Add a -public-linkage-for-metadata-accessors IRGen flag for LLDB.
This commit is contained in:
@@ -1088,6 +1088,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.EnableResilienceBypass = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_force_public_linkage)) {
|
||||
Opts.ForcePublicLinkage = true;
|
||||
}
|
||||
|
||||
// PE/COFF cannot deal with the cross-module reference to the metadata parent
|
||||
// (e.g. NativeObject). Force the lazy initialization of the VWT always.
|
||||
Opts.LazyInitializeClassMetadata = Triple.isOSBinFormatCOFF();
|
||||
|
||||
Reference in New Issue
Block a user