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

Alexey Samsonov samsonov at google.com
Wed Mar 26 01:01:02 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")
----------------
Yury Gribov wrote:
> This is ugly. Perhaps move this logic into lit config?
Yep, that would be better.


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



More information about the llvm-commits mailing list