[PATCH] [sanitizer_common] Add internal_clone().

Alexander Potapenko glider at google.com
Mon Sep 2 04:30:17 PDT 2013


  LGTM with a nit.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:682
@@ +681,3 @@
+// We cannot use glibc's clone wrapper, because it messes with the child
+// taks's TLS. It writes the PID and TID of the child task to its thread
+// descriptor, but in our case the child task shares the thread descriptor with
----------------
s/taks/task


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

BRANCH
  fix/clone

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list