LLVM 20.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"
18
19namespace llvm {
20namespace orc {
21
22// ELF section names.
23extern StringRef ELFEHFrameSectionName;
24
25extern StringRef ELFInitArrayFuncSectionName;
26extern StringRef ELFInitFuncSectionName;
27extern StringRef ELFFiniArrayFuncSectionName;
28extern StringRef ELFFiniFuncSectionName;
29extern StringRef ELFCtorArrayFuncSectionName;
30extern StringRef ELFDtorArrayFuncSectionName;
31
32extern StringRef ELFInitSectionNames[3];
33
34extern StringRef ELFThreadBSSSectionName;
35extern StringRef ELFThreadDataSectionName;
36
37bool isELFInitializerSection(StringRef SecName);
38
39bool isCOFFInitializerSection(StringRef Name);
40
41} // end namespace orc
42} // end namespace llvm
43
44#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
std::string Name
StringRef ELFThreadBSSSectionName
StringRef ELFCtorArrayFuncSectionName
StringRef ELFFiniFuncSectionName
StringRef ELFInitSectionNames[3]
StringRef ELFEHFrameSectionName
StringRef ELFFiniArrayFuncSectionName
StringRef ELFThreadDataSectionName
StringRef ELFInitArrayFuncSectionName
bool isCOFFInitializerSection(StringRef Name)
bool isELFInitializerSection(StringRef SecName)
StringRef ELFInitFuncSectionName
StringRef ELFDtorArrayFuncSectionName
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18