Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report error/warning if /pathmap doesn't cover all emitted source paths #23969

Open
tmat opened this issue Dec 29, 2017 · 1 comment
Open

Report error/warning if /pathmap doesn't cover all emitted source paths #23969

tmat opened this issue Dec 29, 2017 · 1 comment
Labels
Area-Compilers Concept-Determinism The issue involves our ability to support determinism in binaries and PDBs created at build time. Feature Request
Milestone

Comments

@tmat
Copy link
Member

tmat commented Dec 29, 2017

Version Used:

2.7.0.62412 (84aeb8e)

Steps to Reproduce:

Create files C:\temp\a\x.cs and C:\temp\b\y.cs containing some methods.

C:\temp>csc a\x.cs b\y.cs /pathmap:C:\temp\a=/_/ /t:library /deterministic /debug:portable

The resulting binary (pdb) is not fully deterministic since not all paths in the pdb were mapped to a deterministic value.

Expected Behavior:

An error or warning is reported when both /deterministic and /pathmap are specified but the map doesn't cover all paths, so that the user knows that the given /pathmap is insufficient.

Actual Behavior:

No warning/error.

@tmat
Copy link
Member Author

tmat commented Dec 29, 2017

/cc @jaredpar

@tmat tmat changed the title Report error/warning if /pathmap doesn't cover all source paths Report error/warning if /pathmap doesn't cover all emitted source paths Dec 29, 2017
@gafter gafter added the Concept-Determinism The issue involves our ability to support determinism in binaries and PDBs created at build time. label Aug 4, 2019
@gafter gafter added this to the Compiler.Next milestone Aug 4, 2019
@jaredpar jaredpar modified the milestones: Compiler.Next, Backlog Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Concept-Determinism The issue involves our ability to support determinism in binaries and PDBs created at build time. Feature Request
Projects
Compiler: Determinism
Awaiting triage
Development

No branches or pull requests

3 participants