LLVM 22.0.0git
llvm::jitlink::BasicLayout::Segment Class Reference

The Alignment, ContentSize and ZeroFillSize of each segment will be pre-filled from the Graph. More...

#include "llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h"

Public Member Functions

 Segment ()=default

Public Attributes

Align Alignment
size_t ContentSize = 0
uint64_t ZeroFillSize = 0
orc::ExecutorAddr Addr
charWorkingMem = nullptr

Friends

class BasicLayout

Detailed Description

The Alignment, ContentSize and ZeroFillSize of each segment will be pre-filled from the Graph.

Clients must set the Addr and WorkingMem fields prior to calling apply.

Definition at line 224 of file JITLinkMemoryManager.h.

Constructor & Destructor Documentation

◆ Segment()

llvm::jitlink::BasicLayout::Segment::Segment ( )
default

◆ BasicLayout

friend class BasicLayout
friend

Definition at line 225 of file JITLinkMemoryManager.h.

References BasicLayout.

Referenced by BasicLayout.

Member Data Documentation

◆ Addr

orc::ExecutorAddr llvm::jitlink::BasicLayout::Segment::Addr

Definition at line 232 of file JITLinkMemoryManager.h.

◆ Alignment

Align llvm::jitlink::BasicLayout::Segment::Alignment

Definition at line 229 of file JITLinkMemoryManager.h.

◆ ContentSize

size_t llvm::jitlink::BasicLayout::Segment::ContentSize = 0

Definition at line 230 of file JITLinkMemoryManager.h.

◆ WorkingMem

char* llvm::jitlink::BasicLayout::Segment::WorkingMem = nullptr

Definition at line 233 of file JITLinkMemoryManager.h.

◆ ZeroFillSize

uint64_t llvm::jitlink::BasicLayout::Segment::ZeroFillSize = 0

Definition at line 231 of file JITLinkMemoryManager.h.


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