[PATCH] [ASan] Initial support for Kernel AddressSanitizer

Dmitry Vyukov dvyukov at google.com
Tue Jun 16 07:38:42 PDT 2015


================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:1384
@@ -1369,1 +1383,3 @@
+      const std::string SuffixStr = CompileKernel ? "N" : "_n";
+      const std::string EndingStr = CompileKernel ? "_noabort" : "";
       const Type *ExpType = Exp ? Type::getInt32Ty(*C) : nullptr;
----------------
we also need to make them actually noabort

http://reviews.llvm.org/D10411

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






More information about the cfe-commits mailing list