| //===-- aeabi_memset.S - EABI memset implementation -----------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| // void __aeabi_memset(void *dest, size_t n, int c) { memset(dest, c, n); } |
| // void __aeabi_memclr(void *dest, size_t n) { __aeabi_memset(dest, n, 0); } |
| DEFINE_COMPILERRT_FUNCTION(__aeabi_memset) |
| END_COMPILERRT_FUNCTION(__aeabi_memset) |
| DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset4, __aeabi_memset) |
| DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset8, __aeabi_memset) |
| DEFINE_COMPILERRT_FUNCTION(__aeabi_memclr) |
| END_COMPILERRT_FUNCTION(__aeabi_memclr) |
| DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr4, __aeabi_memclr) |
| DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memclr8, __aeabi_memclr) |