Skip to content

Conversation

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Dec 1, 2023

With #83903 the path to the .pdb symbol file changed to include a PDB subdirectory.
We didn't adjust the path in mono.proj and didn't notice it because of an Exists() check that made this a no-op.

This caused the .pdb file to not be uploaded to symbol servers which results in a failing VS APIScan check:

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols

@akoeplinger
Copy link
Member Author

/backport to release/8.0-staging

@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2023

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/7059400157

With dotnet#83903 the path to the .pdb symbol file changed to include a `PDB` subdirectory.
We didn't adjust the path in mono.proj and didn't notice it because of an `Exists()` check that made this a no-op.

This caused the .pdb file to not be uploaded to symbol servers which results in a failing VS APIScan check.

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols
@akoeplinger akoeplinger force-pushed the fix-mono-aot-cross-pdb branch from 93f9942 to 28992c2 Compare December 1, 2023 13:44
@akoeplinger akoeplinger changed the title Fix mono-aot-cross .pdb files missing on Windows Fix missing symbols for mono-aot-cross Dec 1, 2023
@akoeplinger akoeplinger merged commit 1d8e957 into dotnet:main Dec 1, 2023
@akoeplinger akoeplinger deleted the fix-mono-aot-cross-pdb branch December 1, 2023 16:57
steveisok added a commit that referenced this pull request Dec 1, 2023
lewing pushed a commit that referenced this pull request Dec 1, 2023
This reverts commit 1d8e957.

Fast merging to unblock CI
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants