The synchronization library was marked as disabled on Apple platforms
up to now because we were not 100% sure that it was going to be ABI
stable. However, it's been some time since we shipped it in upstream
libc++ now and there's been no changes so far. This patch enables the
synchronization library on Apple platforms, and hence commits the ABI
stability as far as that vendor is concerned.
Details
Details
- Reviewers
__simt__ ldionne - Group Reviewers
Restricted Project - Commits
- rGf84dbd2f2bef: [libc++] Enable the synchronization library on Apple platforms
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Ping @__simt__ @wash @Bigcheese Do we foresee any ABI changes? If not, we'd like to mark this as available on Apple platforms ASAP, because people have started seeing issues where codebases expect the synchronization library to be provided by AppleClang, but it's not. If we don't plan on making ABI breaking changes, I think it would be positive for the C++ ecosystem to ship it.
Comment Actions
I would recommend checking with @MadCoder about the implementation and ABI, since the kernel has Opinions on this. IIRC he looked at Olivier's original patch.
Comment Actions
Yup. What I'm mostly concerned about though is the ABI between the libc++ dylib and its headers. But it looks like this isn't going to change, so I'm going to commit this now.