[PATCH] Do not sanitize kernel area on 32-bit targets

Yury Gribov tetra2005 at gmail.com
Tue Mar 25 07:40:46 PDT 2014



================
Comment at: test/asan/CMakeLists.txt:38
@@ -33,1 +37,3 @@
   set(ASAN_TEST_BITS "32")
+  if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+    set(ASAN_TEST_KERNEL_BITS "64")
----------------
This is ugly. Perhaps move this logic into lit config?


http://llvm-reviews.chandlerc.com/D3119



More information about the llvm-commits mailing list