-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
When building with deterministic source paths, the path stored for the pdb in the dll is supposed to be mapped. As observed in dotnet/source-build#4011, this is the case for some runtime assemblies, but not for all.
Reproducer:
To build with deterministic source paths, ContinuousIntegrationBuild
must be set to true
.
./build.sh /p:ContinuousIntegrationBuild=true -c Release --subset lib
Looking at the built output assemblies, it seems that the pre-trimmed assemblies have the correct path.
For example:
$ strings ./artifacts/obj/System.Linq/Release/net9.0/PreTrim/System.Linq.dll | grep pdb
/_/artifacts/obj/System.Linq/Release/net9.0/System.Linq.pdb
vs
$ strings ./artifacts/obj/System.Linq/Release/net9.0/System.Linq.dll | grep pdb
/home/tmds/repos/runtime/artifacts/obj/System.Linq/Release/net9.0/System.Linq.pdb
Metadata
Metadata
Assignees
Labels
area-Tools-ILLink.NET linker development as well as trimming analyzers.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Type
Projects
Status
High Priority