Imre Kis | ef5c264 | 2021-12-17 14:07:35 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
| 2 | /* |
| 3 | * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | #ifndef ASSERT_FAIL_HANDLER_H_ |
| 7 | #define ASSERT_FAIL_HANDLER_H_ |
| 8 | |
| 9 | #include "compiler.h" |
| 10 | |
| 11 | /* |
| 12 | * Generic assert fail handler function definition. Should be implemented by the environment. |
| 13 | */ |
| 14 | void __noreturn assert_fail_handler(const char *file, int line, |
| 15 | const char *func, const char *failedexpr); |
| 16 | |
| 17 | #endif /* ASSERT_FAIL_HANDLER_H_ */ |