Skip to content
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

[builtins] Fix CPU feature detection for Zircon #76276

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

petrhosek
Copy link
Member

This is a follow up to #75635 which broke the build on Fuchsia. We don't support ifunc on Fuchsia so we shouldn't define __init_cpu_features. For __init_cpu_features_resolver we have to use _zx_system_get_features as a Zircon native solution.

Copy link

github-actions bot commented Dec 23, 2023

✅ With the latest revision this PR passed the C/C++ code formatter.

@petrhosek petrhosek force-pushed the fuchsia-no-init-cpu-features branch 2 times, most recently from 87fb396 to a778546 Compare December 23, 2023 05:09
This is a follow up to llvm#75635 which broke the build on Fuchsia. We don't
support ifunc on Fuchsia so we shouldn't define __init_cpu_features. For
__init_cpu_features_resolver we have to use _zx_system_get_features as a
Zircon native solution.
Copy link
Contributor

@jroelofs jroelofs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@petrhosek petrhosek merged commit 09e6f12 into llvm:main Dec 24, 2023
4 checks passed
@petrhosek petrhosek deleted the fuchsia-no-init-cpu-features branch December 24, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants