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

Add cmake option DISABLE_CLANG_PRESERVE_ALL #3394

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

pmatos
Copy link
Collaborator

@pmatos pmatos commented Jan 31, 2024

Forces disabling use of attribute((preserve_all)). Until CI uses clang17, where this attribute was added, instcountci fails when FEX is compiled with clang>=17.

Forces disabling use of __attribute__((preserve_all)).
Until CI uses clang17, where this attribute was added, instcountci fails
when FEX is compiled with clang>=17.
Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

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

Nice

@Sonicadvance1 Sonicadvance1 merged commit 37a611b into FEX-Emu:main Jan 31, 2024
10 checks passed
@pmatos pmatos deleted the PreserveAllOption branch January 31, 2024 13:02
Sonicadvance1 added a commit to Sonicadvance1/FEX that referenced this pull request Feb 2, 2024
This is used for instcountci to ensure instruction counts don't change
when a compiler supports this feature or not. Always runtime disable
when running in instcountci.

CMake option from FEX-Emu#3394 can still be useful so leaving that in place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants