On Fri, Sep 26, 2014 at 10:48 PM, Yuri Gribov <tetra2005@xxxxxxxxx> wrote: > On Fri, Sep 26, 2014 at 9:29 PM, Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote: >> So in kernel we will need to support all API versions, and the >> following looks like a much simpler way to identify current API >> version: >>> #if __GNUC__ == 5 >>> #define ASAN_V4 > > What about having compiler(s) predefine some __SANITIZE_ADDRESS_ABI__ > macro for this? Hacking on __GNUC__ may not work given the zoo of GCC > versions out there (FSF, Linaro, vendor toolchains, etc.)? I don't have strong preference here... well, actually just not competent :) But on the second though... what do we want to do with pre-build modules? Can you envision that somebody distributes binary modules built with asan? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>