LLVM 22.0.0git
ObjectFormats.h
Go to the documentation of this file.
1//===------ ObjectFormats.h - Object format details for ORC -----*- 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// ORC-specific object format details.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
14#define LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
15
16#include "llvm/ADT/StringRef.h"
19
20namespace llvm {
21namespace orc {
22
23// ELF section names.
24LLVM_ABI extern StringRef ELFEHFrameSectionName;
25
27LLVM_ABI extern StringRef ELFInitFuncSectionName;
29LLVM_ABI extern StringRef ELFFiniFuncSectionName;
32
33LLVM_ABI extern StringRef ELFInitSectionNames[3];
34
35LLVM_ABI extern StringRef ELFThreadBSSSectionName;
36LLVM_ABI extern StringRef ELFThreadDataSectionName;
37
38LLVM_ABI bool isELFInitializerSection(StringRef SecName);
39
40LLVM_ABI bool isCOFFInitializerSection(StringRef Name);
41
42} // end namespace orc
43} // end namespace llvm
44
45#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
#define LLVM_ABI
Definition Compiler.h:213
LLVM_ABI StringRef ELFThreadBSSSectionName
LLVM_ABI StringRef ELFCtorArrayFuncSectionName
LLVM_ABI StringRef ELFFiniFuncSectionName
LLVM_ABI StringRef ELFInitSectionNames[3]
LLVM_ABI StringRef ELFEHFrameSectionName
LLVM_ABI StringRef ELFFiniArrayFuncSectionName
LLVM_ABI StringRef ELFThreadDataSectionName
LLVM_ABI StringRef ELFInitArrayFuncSectionName
LLVM_ABI bool isCOFFInitializerSection(StringRef Name)
LLVM_ABI bool isELFInitializerSection(StringRef SecName)
LLVM_ABI StringRef ELFInitFuncSectionName
LLVM_ABI StringRef ELFDtorArrayFuncSectionName
This is an optimization pass for GlobalISel generic memory operations.