1 /* 2 * Copyright (c) 2013-2024, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <assert.h> 8 9 #ifndef NDEBUG 10 #include "libc_platform.h" 11 __assert(const char * file,int line,const char * func,const char * assertion)12void __dead2 __assert(const char *file, int line, const char *func, const char *assertion) 13 { 14 platform_assert(file, line, func, assertion); 15 } 16 #endif 17