Revert "[dotnet] Pass --preserve-symbol-paths to the trimmer to ensure trimmed assemblies aren't different between architectures. (#23858)" by rolfbjarne · Pull Request #24173 · dotnet/macios · GitHub
Skip to content

Revert "[dotnet] Pass --preserve-symbol-paths to the trimmer to ensure trimmed assemblies aren't different between architectures. (#23858)"#24173

Merged
rolfbjarne merged 2 commits into
mainfrom
dev/rolf/revert-preserve-pdb-path
Nov 5, 2025
Merged

Revert "[dotnet] Pass --preserve-symbol-paths to the trimmer to ensure trimmed assemblies aren't different between architectures. (#23858)"#24173
rolfbjarne merged 2 commits into
mainfrom
dev/rolf/revert-preserve-pdb-path

Conversation

@rolfbjarne

@rolfbjarne rolfbjarne commented Nov 4, 2025

Copy link
Copy Markdown
Member

This reverts commit dc79f3e.

The problem is that we need the assembly to point to the linked version of the
pdb, otherwise the debugger will refuse to load debug info, saying the pdb
doesn't match the dll.

Eventually we might need a way to write just the filename of the pdb in the
assembly, and not a full path, that that's a much more involved fix (#24174).

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2614232.

…e trimmed assemblies aren't different between architectures. (#23858)"

This reverts commit dc79f3e.

The problem is that we need the assembly to point to the linked version of the
pdb, otherwise the debugger will refuse to load debug info, saying the pdb
doesn't match the dll.

Eventually we might need a way to write just the filename of the pdb in the
assembly, and not a full path, that that's a much more involved fix.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2614232.
@rolfbjarne rolfbjarne enabled auto-merge (squash) November 4, 2025 14:57
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #a13a747] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [CI Build #a13a747] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

💻 [CI Build #a13a747] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

💻 [CI Build #a13a747] Tests on macOS M1 - Mac Ventura (13) passed 💻

All tests on macOS M1 - Mac Ventura (13) passed.

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

💻 [CI Build #a13a747] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

💻 [CI Build #a13a747] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

💻 [CI Build #a13a747] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: a13a747ba058c1e62eb7f1e72c6e7206375bb1b1 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

@rolfbjarne rolfbjarne merged commit eafd219 into main Nov 5, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants