-
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
Add support for symbol stripping #70233
Add support for symbol stripping #70233
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. |
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets
Outdated
Show resolved
Hide resolved
bedd546
to
a531506
Compare
How about making |
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
Per @MichalStrehovsky's findings #69847 (comment), other (comparable) toolchains produce unstripped binaries by default. |
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
c9aad9e
to
fc7aeab
Compare
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
8b0b86b
to
5cf5a88
Compare
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.props
Outdated
Show resolved
Hide resolved
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
5cf5a88
to
cca2f7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@MichalStrehovsky Could you please review this as well? |
How is this different from setting |
The new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Original size of Hello World executable on linux: 18 MB |
The NativeAOT leg failed because there was a Helix delay of 1 hour and 40 minutes for System.IO.FileSystem.Tests:
We'll have to see if this is a pattern. Cc @LakshanF just FYI |
Usage:
Also added a fallback for compiler introspection (clang or gcc).
Fixes #69847