#include "COFFLinkGraphBuilder.h"
#define DEBUG_TYPE …
static const char *CommonSectionName = …;
namespace llvm {
namespace jitlink {
static Triple createTripleWithCOFFFormat(Triple T) { … }
COFFLinkGraphBuilder::COFFLinkGraphBuilder(
const object::COFFObjectFile &Obj, Triple TT, SubtargetFeatures Features,
LinkGraph::GetEdgeKindNameFunction GetEdgeKindName)
: … { … }
COFFLinkGraphBuilder::~COFFLinkGraphBuilder() = default;
unsigned
COFFLinkGraphBuilder::getPointerSize(const object::COFFObjectFile &Obj) { … }
llvm::endianness
COFFLinkGraphBuilder::getEndianness(const object::COFFObjectFile &Obj) { … }
uint64_t COFFLinkGraphBuilder::getSectionSize(const object::COFFObjectFile &Obj,
const object::coff_section *Sec) { … }
uint64_t
COFFLinkGraphBuilder::getSectionAddress(const object::COFFObjectFile &Obj,
const object::coff_section *Section) { … }
bool COFFLinkGraphBuilder::isComdatSection(
const object::coff_section *Section) { … }
Section &COFFLinkGraphBuilder::getCommonSection() { … }
Expected<std::unique_ptr<LinkGraph>> COFFLinkGraphBuilder::buildGraph() { … }
StringRef
COFFLinkGraphBuilder::getCOFFSectionName(COFFSectionIndex SectionIndex,
const object::coff_section *Sec,
object::COFFSymbolRef Sym) { … }
Error COFFLinkGraphBuilder::graphifySections() { … }
Error COFFLinkGraphBuilder::graphifySymbols() { … }
Error COFFLinkGraphBuilder::handleDirectiveSection(StringRef Str) { … }
Error COFFLinkGraphBuilder::flushWeakAliasRequests() { … }
Error COFFLinkGraphBuilder::handleAlternateNames() { … }
Symbol *COFFLinkGraphBuilder::createExternalSymbol(
COFFSymbolIndex SymIndex, StringRef SymbolName,
object::COFFSymbolRef Symbol, const object::coff_section *Section) { … }
Expected<Symbol *> COFFLinkGraphBuilder::createAliasSymbol(StringRef SymbolName,
Linkage L, Scope S,
Symbol &Target) { … }
Error COFFLinkGraphBuilder::calculateImplicitSizeOfSymbols() { … }
Expected<Symbol *> COFFLinkGraphBuilder::createDefinedSymbol(
COFFSymbolIndex SymIndex, StringRef SymbolName,
object::COFFSymbolRef Symbol, const object::coff_section *Section) { … }
Expected<Symbol *> COFFLinkGraphBuilder::createCOMDATExportRequest(
COFFSymbolIndex SymIndex, object::COFFSymbolRef Symbol,
const object::coff_aux_section_definition *Definition) { … }
Expected<Symbol *>
COFFLinkGraphBuilder::exportCOMDATSymbol(COFFSymbolIndex SymIndex,
StringRef SymbolName,
object::COFFSymbolRef Symbol) { … }
}
}