summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/address-safety-attr-kasan.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] Initial support for Kernel AddressSanitizerAlexander Potapenko2015-06-191-0/+38
This patch adds initial support for the -fsanitize=kernel-address flag to Clang. Right now it's quite restricted: only out-of-line instrumentation is supported, globals are not instrumented, some GCC kasan flags are not supported. Using this patch I am able to build and boot the KASan tree with LLVMLinux patches from github.com/ramosian-glider/kasan/tree/kasan_llvmlinux. To disable KASan instrumentation for a certain function attribute((no_sanitize("kernel-address"))) can be used. llvm-svn: 240131
OpenPOWER on IntegriCloud