[PATCH] [sanitizer_common] Add internal_clone().

Evgeniy Stepanov eugenis at google.com
Fri Aug 30 07:37:19 PDT 2013


  Looks great.
  Please explain the stale cache issue in the comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:292
@@ +291,3 @@
+#if defined(__x86_64__)
+int internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
+                   int *parent_tidptr, void *newtls, int *child_tidptr) {
----------------
add some comments explaining how this is different from the libc clone() wrapper.


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

BRANCH
  fix/clone

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list