class ELFWriter

Declaration

template <class ELFT>
class ELFWriter : public Writer { /* full declaration omitted */ };

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:321

Inherits from: Writer

Templates

ELFT

Member Variables

private std::unique_ptr<ELFSectionWriter<ELFT>> SecWriter
public bool WriteSectionHeaders
public bool OnlyKeepDebug

Inherited from Writer:

protected Obj
protected Buf
protected Out

Method Overview

Inherited from Writer:

Methods

ELFWriter<ELFT>(llvm::objcopy::elf::Object& Obj,
                llvm::raw_ostream& Out,
                bool WSH,
                bool OnlyKeepDebug)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:355

Parameters

llvm::objcopy::elf::Object& Obj
llvm::raw_ostream& Out
bool WSH
bool OnlyKeepDebug

void assignOffsets()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:339

llvm::Error finalize()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:353

void initEhdrSegment()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:328

size_t totalSize() const

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:343

llvm::Error write()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:354

void writeEhdr()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:330

void writePhdr(
    const llvm::objcopy::elf::Segment& Seg)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:331

Parameters

const llvm::objcopy::elf::Segment& Seg

void writePhdrs()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:334

llvm::Error writeSectionData()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:336

void writeSegmentData()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:337

void writeShdr(
    const llvm::objcopy::elf::SectionBase& Sec)

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:332

Parameters

const llvm::objcopy::elf::SectionBase& Sec

void writeShdrs()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:335

virtual ~ELFWriter<ELFT>()

Declared at: llvm/lib/ObjCopy/ELF/ELFObject.h:346