[release/9.0-preview1] [NativeAOT] ObjWriter: Fix over-alignment of .eh_frame entries #97457
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #96817 to release/9.0-preview1
/cc @carlossanlop @filipnavara
Customer Impact
We noticed when switching from the old to the new ObjWriter that the debug symbols were larger than before.
The important piece of this change is that it groups all the ObjWriter replacement changes into Preview 1, rather than splitting across multiple releases.
Regression
This regression was introduced by the ObjWriter change, which happened a few weeks ago.
Testing
Manual testing
Risk
Medium, because we have very limited unit testing of the symbol quality coming out of Native AOT. This is the primary reason to take this change in Preview 1 -- if we put these changes in ASAP, we can get feedback from users if they broke anything and have plenty of time to change it before 9.0 ships.