[PATCH] [lsan] Make LSan ignore memory poisoned by ASan.

Kostya Serebryany kcc at google.com
Mon Dec 9 03:37:38 PST 2013


  LGTM with a nit


================
Comment at: lib/asan/asan_poisoning.cc:299
@@ +298,3 @@
+bool WordIsPoisoned(uptr addr) {
+  return __asan_region_is_poisoned(addr, sizeof(void *));  // NOLINT
+}
----------------
use sizeof(uptr) and remove NOLINE
uptr is guaranteed to be the same size as void *


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

BRANCH
  feat/is_poisoned

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list