Notes on building and running the Linux kernel with Clang https://lkml.org/lkml/2017/11/22/943 … (Pixel 2 phones are running a 4.4 kernel built with Clang)
-
-
GCC also don't have MSan and there's a KMSan implementation via Clang for finding uninitialized memory usage bugs: https://github.com/google/kmsan .
-
Clang also provides a robust implementation of UBSan and friends without the pervasive false negatives and false positives from GCC. Android already uses Clang for userspace and third party apps and they're using the integer sanitizer in trapping mode for production.
-
Simply not needing to deal with a secondary toolchain is a big improvement. Android's Clang/LLVM toolchain is 5.x (2017) while the GCC toolchain is still 4.9 (2014) since their migration plan from it has been moving to Clang for a long time rather than ever upgrading it again.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.