You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Add mapping from IL to source line / filename when logging warnings/errors #987
If we are to make the linker warnings and errors that we surface to IDEs actionable by the users, we need a way to get the source line and file name related to the piece of IL that made the illinker output a warning, this should be done by looking into the pdbs of the related dll/exe, since these contain a mapping between the IL and the declared symbols.
This is implemented such that if linker can find the relevant PDBs, it will use it to read source/line info and report warnings with source/line. Otherwise it defaults to report warnings describing the metadata item they're associated with.
Activity
vitek-karas commentedon Sep 12, 2022
This is implemented such that if linker can find the relevant PDBs, it will use it to read source/line info and report warnings with source/line. Otherwise it defaults to report warnings describing the metadata item they're associated with.