[PATCH] Run the callback on a separate stack in StopTheWorld.

Kostya Serebryany kcc at google.com
Fri Mar 29 05:28:48 PDT 2013



================
Comment at: lib/sanitizer_common/sanitizer_stoptheworld_linux.cc:259
@@ +258,3 @@
+                             "ScopedStackWithGuard");
+    void *res = Mprotect((uptr)guard_start_, guard_size_);
+    CHECK_EQ(res, guard_start_);
----------------
CHECK_EQ(guard_size, Mprotect(...))

================
Comment at: lib/sanitizer_common/sanitizer_stoptheworld_linux.cc:272
@@ +271,3 @@
+  uptr guard_size_;
+  void* guard_start_;
+};
----------------
make it uptr?


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



More information about the llvm-commits mailing list