[PATCH] [dfsan] Begin a private header and move shadow_for there.

Evgeniy Stepanov eugenis at google.com
Mon Aug 12 02:37:41 PDT 2013


  LGTM


================
Comment at: lib/dfsan/dfsan.h:23
@@ +22,3 @@
+inline dfsan_label *shadow_for(void *ptr) {
+  return (dfsan_label *) ((((uintptr_t) ptr) & ~0x700000000000) << 1);
+}
----------------
Why not add a symbolic name for 0x700000000000 constant?


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

BRANCH
  dfsan-up3

ARCANIST PROJECT
  compiler-rt



More information about the llvm-commits mailing list