mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Serialize local types and provide a lookup API"
Changing the design of this to maintain more local context information and changing the lookup API. This reverts commit 4f2ff1819064dc61c20e31c7c308ae6b3e6615d0. Swift SVN r24432
This commit is contained in:
@@ -444,7 +444,7 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
// Get the main source file's private discriminator and attach it to
|
||||
// the compile unit's flags.
|
||||
if (PrimarySourceFile) {
|
||||
Identifier PD = PrimarySourceFile->getDiscriminator();
|
||||
Identifier PD = PrimarySourceFile->getPrivateDiscriminator();
|
||||
if (!PD.empty())
|
||||
IRGenOpts.DWARFDebugFlags += (" -private-discriminator "+PD.str()).str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user