Fix the internal_memmove() implementation that used to skip src[0] if dst < src.
authorAlexander Potapenko <glider@google.com>
Fri, 26 Oct 2012 13:24:20 +0000 (13:24 +0000)
committerAlexander Potapenko <glider@google.com>
Fri, 26 Oct 2012 13:24:20 +0000 (13:24 +0000)
commit2a1925852d4f2bbbd6a0bd61ba82f2549b41c165
treeda5d6fbd1af916764f04b57ce697f6423106520c
parent4dab6a1b7c5a5a042b7853c0e57fe0260cb64197
Fix the internal_memmove() implementation that used to skip src[0] if dst < src.

llvm-svn: 166774
compiler-rt/lib/sanitizer_common/sanitizer_libc.cc
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc [new file with mode: 0644]