summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-13 00:16:18 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-13 00:16:18 +0000
commite4c3c84e9d470ebe5bae3a28358f28c7f652e5a6 (patch)
tree5ed8d7ba70dd16b76c0115a2c380c058e5b19afa /lib
parentfa9f5aef0583535f3ac1fa444f2cf62db324537e (diff)
[dfsan] Remove the unused __dfsan_memcpy function.
Differential Revision: http://llvm-reviews.chandlerc.com/D1350 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/dfsan/dfsan.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/dfsan/dfsan.cc b/lib/dfsan/dfsan.cc
index 02f64deeb..c8b0e6851 100644
--- a/lib/dfsan/dfsan.cc
+++ b/lib/dfsan/dfsan.cc
@@ -130,13 +130,6 @@ dfsan_label __dfsan_union_load(dfsan_label *ls, size_t n) {
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