Re:Toward _FORTIFY_SOURCE Parity Between Clang and GCC
by pjmlp on Thursday February 13, 2020 @01:56AM
(#22315870)
Android is fully clang nowadays, Google's fork of Linux kernel has been cleaned from GCC dependencies.
There were a couple of talks about it a couple of years ago.
2017 LLVM Developers’ Meeting: “Compiling Android userspace and Linux kernel with LLVM", https://www.youtube.com/watch?v=6l4DtR5exwo
"LPC2018 - Clang+Linux", https://www.youtube.com/watch?v=SSWUrWqnSz0
EDIT: typo and link for the mentioned talks.
- Apple platforms
- Android (at least for the NDK used by third-party developers)
- PS4
- Nintendo Switch
- WebAssembly (there's no official "default", but GCC doesn't support it)
- eBPF (at least, GCC didn't support it until a few months ago)
Oh, and Google uses Clang to build Chromium for all of its supported platforms (Windows, Mac, Linux).