-
Notifications
You must be signed in to change notification settings - Fork 241
Place intrinsics in individual object files #349
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
I think you will need to add |
The interaction with other attributes is not ideal. I had to disable attribute expansions in @bjorn3 So far I didn't found it necessary for release builds (based on |
Should we perhaps go ahead and just place all intrinsics in their own codegen unit? And yes it is not necessary to use |
I added I cross-validated partitioning with |
I don't think there's any realistic need for more than one symbol per CGU, even if libgcc does something similar. I also think it would be better to automatically place everything with one-symbol-per-object rather than having to manually annotate each function with a new attribute. |
Is the |
The |
I agree yeah that if ThinLTO is disabled it's a problem, but I think ThinLTO is enabled everywhere, so I'm not sure it's a case we need to worry about? |
In context of official builds, I would expect this to be the case. Hard to say how it used more generally. In any case, we can revisit this aspect later if necessary. I removed inlining changes for now. |
Ok I've published 0.1.27 with this now too |
Migrate types from a macro to a trait
No description provided.