[PATCH] [ASan] Initial support for Kernel AddressSanitizer

Alexey Samsonov vonosmas at gmail.com
Tue Jun 16 11:09:30 PDT 2015


================
Comment at: tools/clang/test/Driver/kasan.c:1
@@ +1,2 @@
+// RUN: %clang     -target i386-unknown-unknown -fsanitize=kernel-address %s -S -emit-llvm -o - | FileCheck %s
+// RUN: %clang -O1 -target i386-unknown-unknown -fsanitize=kernel-address %s -S -emit-llvm -o - | FileCheck %s
----------------
Please use linux as a target (http://reviews.llvm.org/D10467). You can also merge it into asan.c to keep a single test case (I'm fine either way).

http://reviews.llvm.org/D10411

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list