[PATCH] [dfsan] Remove the unused __dfsan_memcpy function.
    Peter Collingbourne 
    peter at pcc.me.uk
       
    Fri Aug  9 19:05:01 PDT 2013
    
    
  
Hi eugenis,
http://llvm-reviews.chandlerc.com/D1350
Files:
  lib/dfsan/dfsan.cc
Index: lib/dfsan/dfsan.cc
===================================================================
--- lib/dfsan/dfsan.cc
+++ lib/dfsan/dfsan.cc
@@ -130,13 +130,6 @@
   return label;
 }
 
-extern "C" SANITIZER_INTERFACE_ATTRIBUTE
-void *__dfsan_memcpy(void *dest, const void *src, size_t n) {
-  dfsan_label *sdest = shadow_for(dest), *ssrc = shadow_for((void *)src);
-  internal_memcpy((void *)sdest, (void *)ssrc, n * sizeof(dfsan_label));
-  return internal_memcpy(dest, src, n);
-}
-
 // Like __dfsan_union, but for use from the client or custom functions.  Hence
 // the equality comparison is done here before calling __dfsan_union.
 SANITIZER_INTERFACE_ATTRIBUTE dfsan_label
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1350.1.patch
Type: text/x-patch
Size: 677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130809/726b1a39/attachment.bin>
    
    
More information about the llvm-commits
mailing list