Re:Building the Linux kernel with clang
by sanxiyn on Thursday September 21, 2017 @10:35AM
(#15303819)
All sanitizers are also available in GCC, so no.
[ Parent
| on HN ]
Re:Building the Linux kernel with clang
by bitcharmer on Thursday September 21, 2017 @12:02PM
(#15304803)
Are you sure? Last time I checked the ones llvm had and gcc did not were:
Dynamic alloca overflow detection
Symbol size changing for global variables
Adaptive global redzone sizes
Invalid pointer pairs detection
Support for no_sanitize attribute
Support for dead stripping of globals on Linux
I might be out of date on some or even all, so please correct me where I'm wrong. Thank you in advance.
Re:Building the Linux kernel with clang
by ndesaulniers on Thursday September 21, 2017 @12:06PM
(#15304853)
Wrong. Not all kernel versions.