Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Aug 8, 2024

Fixes #105326

Per https://learn.microsoft.com/en-us/windows/win32/secbp/pe-metadata#function-alignment "Functions that are address taken and are therefore included in the GFIDS table should be made 16-byte aligned, if possible.". We'd align at 4 bytes if SIZE_OPT is enabled.

Cc @dotnet/ilc-contrib

Fixes dotnet#105326

Per https://learn.microsoft.com/en-us/windows/win32/secbp/pe-metadata#function-alignment "Functions that are address taken and are therefore included in the GFIDS table should be made 16-byte aligned, if possible.". We'd align at 4 bytes if SIZE_OPT is enabled.
@MichalStrehovsky
Copy link
Member Author

/ba-g nuget restore issue in an unrelated leg

@MichalStrehovsky MichalStrehovsky merged commit 03beecc into dotnet:main Aug 8, 2024
@MichalStrehovsky MichalStrehovsky deleted the fix105326 branch August 8, 2024 19:00
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 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.

Look at method alignment with OptimizationPreference=Size and ControlFlowGuard=Guard

2 participants