llvm/llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp

//===---------- ObjectFormats.cpp - Object format details for ORC ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// ORC-specific object format details.
//
//===----------------------------------------------------------------------===//

#include "llvm/ExecutionEngine/Orc/Shared/ObjectFormats.h"

namespace llvm {
namespace orc {

StringRef MachODataCommonSectionName =;
StringRef MachODataDataSectionName =;
StringRef MachOEHFrameSectionName =;
StringRef MachOCompactUnwindInfoSectionName =;
StringRef MachOCStringSectionName =;
StringRef MachOModInitFuncSectionName =;
StringRef MachOObjCCatListSectionName =;
StringRef MachOObjCCatList2SectionName =;
StringRef MachOObjCClassListSectionName =;
StringRef MachOObjCClassNameSectionName =;
StringRef MachOObjCClassRefsSectionName =;
StringRef MachOObjCConstSectionName =;
StringRef MachOObjCDataSectionName =;
StringRef MachOObjCImageInfoSectionName =;
StringRef MachOObjCMethNameSectionName =;
StringRef MachOObjCMethTypeSectionName =;
StringRef MachOObjCNLCatListSectionName =;
StringRef MachOObjCNLClassListSectionName =;
StringRef MachOObjCProtoListSectionName =;
StringRef MachOObjCProtoRefsSectionName =;
StringRef MachOObjCSelRefsSectionName =;
StringRef MachOSwift5ProtoSectionName =;
StringRef MachOSwift5ProtosSectionName =;
StringRef MachOSwift5TypesSectionName =;
StringRef MachOSwift5TypeRefSectionName =;
StringRef MachOSwift5FieldMetadataSectionName =;
StringRef MachOSwift5EntrySectionName =;
StringRef MachOThreadBSSSectionName =;
StringRef MachOThreadDataSectionName =;
StringRef MachOThreadVarsSectionName =;

StringRef MachOInitSectionNames[22] =;

StringRef ELFEHFrameSectionName =;

StringRef ELFInitArrayFuncSectionName =;
StringRef ELFInitFuncSectionName =;
StringRef ELFFiniArrayFuncSectionName =;
StringRef ELFFiniFuncSectionName =;
StringRef ELFCtorArrayFuncSectionName =;
StringRef ELFDtorArrayFuncSectionName =;

StringRef ELFInitSectionNames[3]{};

StringRef ELFThreadBSSSectionName =;
StringRef ELFThreadDataSectionName =;

bool isMachOInitializerSection(StringRef SegName, StringRef SecName) {}

bool isMachOInitializerSection(StringRef QualifiedName) {}

bool isELFInitializerSection(StringRef SecName) {}

bool isCOFFInitializerSection(StringRef SecName) {}

} // namespace orc
} // namespace llvm