[PATCH] [lsan] Move symbolization and reporting out of StopTheWorld callback.

Kostya Serebryany kcc at google.com
Wed Jun 19 06:58:40 PDT 2013


  LGTM with one nit


================
Comment at: lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:288
@@ +287,3 @@
+static void WipeStack() {
+  char arr[256];
+  // Jump through hoops to prevent optimization.
----------------
that's an overkill. Just call internal_memset


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

BRANCH
  feat/lsan/move_leaks_out_of_callback

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list