On Mon, Aug 06, 2018 at 02:08:32PM -0700, Nick Desaulniers wrote:
These patches are needed for kasan+clang support. I confirmed they apply cleanly in order (top to bottom):
4.9: commit c5caf21ab0cf8 ("kasan: turn on -fsanitize-address-use-after-scope") commit 0e410e158e5b ("kasan: don't emit builtin calls when sanitization is off")
By applying these, I get a ton of new build warnings, so I can't add them :(
4.4: commit c5caf21ab0cf8 ("kasan: turn on -fsanitize-address-use-after-scope")
I'm guessing I will get build warnings here too :(
===
0e410e158e5b is the one I'm interested in. Looks like it landed in 4.16, and got backported to 4.14-stable.
===
c5caf21ab0cf8 depends on c6d308534aef6 ("UBSAN: run-time undefined behavior sanity checker"), and I don't want to bring in all of UBSAN to 4.4. I'll send a patch for 0e410e158e5b.
I don't undersand, can you send a patch series for the patches you want to have applied? That makes it easier to understand.
thanks,
greg k-h