-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Delete strong name cruft #1006
Delete strong name cruft #1006
Conversation
@@ -226,11 +226,7 @@ DLLEXPORT ICorJitCompiler* __stdcall getJit() | |||
// If you are using it more broadly in retail code, you would need to understand the | |||
// performance implications of accessing TLS. | |||
|
|||
#ifndef __GNUC__ |
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.
Ifdef cleanup that came along for the ride.
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.
LGTM, thank you!
The amount of strong name support that CoreCLR needs is very small (really just a method to convert public key to public key token). It is not worth it to build a separate .lib for just this single method. Fold the strong name APIs into metadata and change the API to return HRESULT.
Mostly unrelated, but have we recently gone through an exercise of dumping the functions the linker is dropping, and considering whether any represent code that can be deleted? I know at least some linkers will tell you what they dropped. I could imagine building for all targets, then finding the intersection. |
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.
Thanks for cleaning this up!
The amount of strong name support that CoreCLR needs is very small (really just a method to convert public key to public key token). It is not worth it to build a separate .lib for just this single method. Fold the strong name APIs into metadata and change the API to return HRESULT.