Re: clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add clang support)

From: Kees Cook
Date: Wed Feb 14 2018 - 12:31:29 EST


On Wed, Feb 14, 2018 at 1:08 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> If you ever get to the point where it makes sense to build a kernel with
> LLVM [...]

Just to speak to this point in particular: it makes sense to build
kernels with LLVM right now. It's already happened; millions of Pixel
2 phones are already running with Clang-built kernels. And even if
you're only interested in x86, that works too.

-Kees

--
Kees Cook
Pixel Security