dotnet/roslyn

Windows PDB: Improve reusal of imports scopes

Open

#18,004 opened on Mar 20, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-InteractiveInteractive-Debugginghelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

When emitting Windows PDB the compiler doesn't reuse import scopes as much as it could. It currently deduplicates import scopes between two subsequent methods but not across all methods in the compilation. When emitting Portable PDB the scopes are deduplicated across the entire compilation. We can use the same logic to do so for Windows PDBs as well.

Once fixed enable skipped PDB conversion tests refering to this issue.

Contributor guide