LLVM  14.0.0git
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
llvm::jitlink::ELFLinkGraphBuilderBase Class Reference

Common link-graph building code shared between all ELFFiles. More...

#include "ExecutionEngine/JITLink/ELFLinkGraphBuilder.h"

Inheritance diagram for llvm::jitlink::ELFLinkGraphBuilderBase:
Inheritance graph
[legend]
Collaboration diagram for llvm::jitlink::ELFLinkGraphBuilderBase:
Collaboration graph
[legend]

Public Member Functions

 ELFLinkGraphBuilderBase (std::unique_ptr< LinkGraph > G)
 
virtual ~ELFLinkGraphBuilderBase ()
 

Protected Member Functions

SectiongetCommonSection ()
 

Static Protected Member Functions

static bool isDwarfSection (StringRef SectionName)
 

Protected Attributes

std::unique_ptr< LinkGraphG
 

Detailed Description

Common link-graph building code shared between all ELFFiles.

Definition at line 28 of file ELFLinkGraphBuilder.h.

Constructor & Destructor Documentation

◆ ELFLinkGraphBuilderBase()

llvm::jitlink::ELFLinkGraphBuilderBase::ELFLinkGraphBuilderBase ( std::unique_ptr< LinkGraph G)
inline

Definition at line 30 of file ELFLinkGraphBuilder.h.

◆ ~ELFLinkGraphBuilderBase()

llvm::jitlink::ELFLinkGraphBuilderBase::~ELFLinkGraphBuilderBase ( )
virtual

Definition at line 30 of file ELFLinkGraphBuilder.cpp.

Member Function Documentation

◆ getCommonSection()

Section& llvm::jitlink::ELFLinkGraphBuilderBase::getCommonSection ( )
inlineprotected

Definition at line 38 of file ELFLinkGraphBuilder.h.

References G, llvm::sys::Memory::MF_READ, and llvm::sys::Memory::MF_WRITE.

◆ isDwarfSection()

static bool llvm::jitlink::ELFLinkGraphBuilderBase::isDwarfSection ( StringRef  SectionName)
inlinestaticprotected

Definition at line 34 of file ELFLinkGraphBuilder.h.

References llvm::is_contained().

Member Data Documentation

◆ G

std::unique_ptr<LinkGraph> llvm::jitlink::ELFLinkGraphBuilderBase::G
protected

Definition at line 47 of file ELFLinkGraphBuilder.h.

Referenced by getCommonSection().


The documentation for this class was generated from the following files: