-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mono][ios] Introduce non-global symbol stripping in MonoAOTCompiler msbuild task #81361
[mono][ios] Introduce non-global symbol stripping in MonoAOTCompiler msbuild task #81361
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
nit: I would suggested updating the PR's title as stripping became part of Otherwise: LGTM! As a follow-up, we should think about utilising #79721 and possibly strip more from the final binary. |
Good! I've added tracking issue as a P2. |
When stripping non-global symbols from binary, SOD is 13300936 bytes, while when preserving only P/Invokes, SOD is 12699776 bytes. |
Failure is #81123. |
This PR resolves #80977 by stripping symbols for SOD measurements. It adds an option in the MonoAOTCompiler to extracts non-global symbols from a binary into a separate
.dSYM
directory.