1 //===-- Internal header for __stack_chk_fail --------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H
10 #define LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H
12 // The compiler will emit calls implicitly to a non-namespaced version.
13 // TODO: can we additionally provide a namespaced alias so that tests can
14 // explicitly call the namespaced variant rather than the non-namespaced
17 [[noreturn
]] void __stack_chk_fail();
20 #endif // LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H