Skip to content

Copy AOT PDBs to a subdirectory - #68063

Merged
hoyosjs merged 1 commit into
dotnet:mainfrom
agocke:fix-aot-pdb
Apr 15, 2022
Merged

hoyosjs merged 1 commit into
dotnet:mainfrom
agocke:fix-aot-pdb

Conversation

@agocke

@agocke agocke commented Apr 14, 2022 •

Copy link
Copy Markdown
Member

This fixes #67851. Unfortunately it doesn't prevent it from happening again. I tried to write a check for this, but the way the target works, PDBs get individually moved at the time they're built, instead of copied at the end, so there's no final view where you can see the PDBs all together and verify they won't cross each other.

The first priority seemed to be to fix the bug, and then we can make improvements in validation.

@ghost ghost added the area-Infrastructure-coreclr Only use for closed issues label Apr 14, 2022
@ghost ghost assigned agocke Apr 14, 2022
@ghost

ghost commented Apr 14, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

This fixes #67851. Unfortunately it doesn't prevent it from happening again. I tried to write a check for this, but the way the target works, PDBs get individually moved at the time they're built, instead of copied at the end, so there's no way final view where you can see the PDBs all together and verify they won't cross each other.

The first priority seemed to be to fix the bug, and then we can make improvements in validation.

Author: agocke
Assignees: -
Labels:

area-Infrastructure-coreclr

Milestone: -

@agocke
agocke requested a review from hoyosjs April 14, 2022 23:28

@hoyosjs hoyosjs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves it. I am not sure how brittle this might be - but since we don't build much it at least unblocks things. Also, what's the distributions story for aotsdk?

@hoyosjs
hoyosjs merged commit b5381bf into dotnet:main Apr 15, 2022
@agocke
agocke deleted the fix-aot-pdb branch April 15, 2022 21:49
@agocke

agocke commented Apr 15, 2022

Copy link
Copy Markdown
Member Author

It'll be included in the SDK, and the current nuget package will become a transport package. Overall, not too different from what we do now.

@agocke

agocke commented Apr 15, 2022

Copy link
Copy Markdown
Member Author

(Also, there will be runtime packs that carry the AOT'd framework)

@ghost ghost locked as resolved and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S.P.C PDB is being overwritten by NativeAOT PDB in folder

2 participants