Re:Building the Linux kernel with clang
by ndesaulniers on Thursday September 21, 2017 @12:05PM
(#15304841)
Present != Equal, feature wise. Not by a long shot. At the same conf, one of my friends who develops the sanitizers said it's easier to develop for LLVM, so that's where Dev work is done.
Re:Building the Linux kernel with clang
by pksadiq on Thursday September 21, 2017 @12:19PM
(#15304992)
> Present != Equal, feature wise.
It is developed by google[0] afaik. The link says it is present in LLVM and gcc. I don't know what makes the difference (may be License?). On the contrary I have felt gcc better for my work. I have been following a clang bug[1] for long and have seen no fix so far.
[0] https://github.com/google/sanitizers/wiki/AddressSanitizer
Re:Building the Linux kernel with clang
by pebers on Thursday September 21, 2017 @01:12PM
(#15305502)
Clang has better support for plugins and calling it as a library; that sort of thing was resisted by GCC. Google has a bunch of large-scale tooling based on the Clang frontend which AFAIK wouldn't be possible with GCC.
[0] https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h...