Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / config / linux / platform_defs.h.inc
blob495d07c80cf29483024adfe4f81c4278713f8eb4
1 //===----- Definition of platform specific macros for ELF paltforms -------===//
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 //===----------------------------------------------------------------------===//
9 %%begin()
11 #define ENTRYPOINT_SECTION_ATTRIBUTE(name) \
12     __attribute__((section(".llvm.libc.entrypoint."#name)))
13 #define LLVM_LIBC_ENTRYPOINT(name) ENTRYPOINT_SECTION_ATTRIBUTE(name) name