Skip to content

Commit 7c26cda

Browse files
add header
1 parent 932af76 commit 7c26cda

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

libc/src/compiler/__stack_chk_fail.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//===-- Internal header for __stack_chk_fail --------------------*- C++ -*-===//
2+
//
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
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
#ifndef LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H
10+
#define LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H
11+
12+
namespace LIBC_NAMESPACE {
13+
14+
[[noreturn]] void __stack_chk_fail();
15+
16+
} // namespace LIBC_NAMESPACE
17+
18+
#endif // LLVM_LIBC_SRC_COMPILER___STACK_CHK_FAIL_H

0 commit comments

Comments
 (0)