Re: [PATCH 3/4] kasan: support LLVM-style asan parameters

2017-07-10 Thread Dmitry Vyukov
On Fri, Jul 7, 2017 at 12:01 AM, Greg Hackmann wrote: > Use cc-option to figure out whether the compiler's sanitizer uses > LLVM-style parameters ("-mllvm -asan-foo=bar") or GCC-style parameters > ("--param asan-foo=bar"). > > Signed-off-by: Greg Hackmann

Re: [PATCH 3/4] kasan: support LLVM-style asan parameters

2017-07-10 Thread Dmitry Vyukov
On Fri, Jul 7, 2017 at 12:01 AM, Greg Hackmann wrote: > Use cc-option to figure out whether the compiler's sanitizer uses > LLVM-style parameters ("-mllvm -asan-foo=bar") or GCC-style parameters > ("--param asan-foo=bar"). > > Signed-off-by: Greg Hackmann > --- > scripts/Makefile.kasan | 10

[PATCH 3/4] kasan: support LLVM-style asan parameters

2017-07-06 Thread Greg Hackmann
Use cc-option to figure out whether the compiler's sanitizer uses LLVM-style parameters ("-mllvm -asan-foo=bar") or GCC-style parameters ("--param asan-foo=bar"). Signed-off-by: Greg Hackmann --- scripts/Makefile.kasan | 10 +- 1 file changed, 9 insertions(+), 1

[PATCH 3/4] kasan: support LLVM-style asan parameters

2017-07-06 Thread Greg Hackmann
Use cc-option to figure out whether the compiler's sanitizer uses LLVM-style parameters ("-mllvm -asan-foo=bar") or GCC-style parameters ("--param asan-foo=bar"). Signed-off-by: Greg Hackmann --- scripts/Makefile.kasan | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git