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

Update libcompiler_rt to LLVM 10 and simplify the versioning limits macros #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zormeister
Copy link
Member

@Zormeister Zormeister commented Feb 2, 2025

This PR basically makes libcompiler_rt.dylib a perfect replica of the library used in macOS Catalina (Darwin 19.6), as it re-exports ___chkstk_darwin from libpthread, alongside removing any unused pieces of compiler-rt in the process.

The only difference I’ve found is that it includes the 128-bit atomic operations (Tested on a Monterey and Catalina host, both produced the same results), but that doesn’t seem like a cause for concern.

This also includes using the x86_64 sources instead of the generic sources, alongside adding ___chkstk_darwin to compiler-rt's symbols, therefore making it compatible with Darwin 19, I believe. I also removed a lot of unused files, specifically functions that I didn't see available in /usr/lib/system/libcompiler_rt.dylib
@Zormeister Zormeister changed the title Update libcompiler_rt to LLVM 10, and simplify the versioning limits macros Update libcompiler_rt to LLVM 10 and simplify the versioning limits macros Feb 2, 2025
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.

1 participant