1// Copyright 2017 The Fuchsia Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "asm.h" 6 7// The memset implementation is verbatim from cortex-strings. 8// But we also need to define aliases for the sanitizer runtime. 9 10#include "third_party/lib/cortex-strings/src/aarch64/memset.S" 11 12ALIAS(memset, __unsanitized_memset) 13ASAN_WEAK_ALIAS(memset) 14 15// This name is called from inside libc to avoid going through the PLT. 16.hidden __libc_memset 17ALIAS(memset, __libc_memset) 18