Path: blob/main/contrib/llvm-project/compiler-rt/lib/builtins/crtend.c
35260 views
//===-- crtend.c - End of constructors and destructors --------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include <stdint.h>910// Put 4-byte zero which is the length field in FDE at the end as a terminator.11const int32_t __EH_FRAME_LIST_END__[]12__attribute__((section(".eh_frame"), aligned(sizeof(int32_t)),13visibility("hidden"), used)) = {0};1415#ifndef CRT_HAS_INITFINI_ARRAY16typedef void (*fp)(void);17fp __CTOR_LIST_END__[]18__attribute__((section(".ctors"), visibility("hidden"), used)) = {0};19fp __DTOR_LIST_END__[]20__attribute__((section(".dtors"), visibility("hidden"), used)) = {0};21#endif222324