Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:51

0001 //===------ ObjectFormats.h - Object format details for ORC -----*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // ORC-specific object format details.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
0014 #define LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H
0015 
0016 #include "llvm/ADT/StringRef.h"
0017 #include "llvm/ExecutionEngine/Orc/Shared/MachOObjectFormat.h"
0018 
0019 namespace llvm {
0020 namespace orc {
0021 
0022 // ELF section names.
0023 extern StringRef ELFEHFrameSectionName;
0024 
0025 extern StringRef ELFInitArrayFuncSectionName;
0026 extern StringRef ELFInitFuncSectionName;
0027 extern StringRef ELFFiniArrayFuncSectionName;
0028 extern StringRef ELFFiniFuncSectionName;
0029 extern StringRef ELFCtorArrayFuncSectionName;
0030 extern StringRef ELFDtorArrayFuncSectionName;
0031 
0032 extern StringRef ELFInitSectionNames[3];
0033 
0034 extern StringRef ELFThreadBSSSectionName;
0035 extern StringRef ELFThreadDataSectionName;
0036 
0037 bool isELFInitializerSection(StringRef SecName);
0038 
0039 bool isCOFFInitializerSection(StringRef Name);
0040 
0041 } // end namespace orc
0042 } // end namespace llvm
0043 
0044 #endif // LLVM_EXECUTIONENGINE_ORC_SHARED_OBJECTFORMATS_H