HomePhabricator

[libc] Add memmove implementation.

Authored by cheng.w on Nov 25 2020, 5:12 AM.

Description

[libc] Add memmove implementation.

Use memcpy rather than copying bytes one by one, for there might be large
size structs to move.

Reviewed By: gchatelet, sivachandra

Differential Revision: https://reviews.llvm.org/D93195

Details