LLVM: llvm::objcopy::coff::Object Struct Reference (original) (raw)

#include "[ObjCopy/COFF/COFFObject.h](COFFObject%5F8h%5Fsource.html)"

Public Member Functions
ArrayRef< Symbol > getSymbols () const
iterator_range< std::vector< Symbol >::iterator > getMutableSymbols ()
const Symbol * findSymbol (size_t UniqueId) const
void addSymbols (ArrayRef< Symbol > NewSymbols)
Error removeSymbols (function_ref< Expected< bool >(const Symbol &)> ToRemove)
Error markSymbols ()
ArrayRef< Section > getSections () const
iterator_range< std::vector< Section >::iterator > getMutableSections ()
const Section * findSection (ssize_t UniqueId) const
void addSections (ArrayRef< Section > NewSections)
void removeSections (function_ref< bool(const Section &)> ToRemove)
void truncateSections (function_ref< bool(const Section &)> ToTruncate)
Public Attributes
bool IsPE = false
object::dos_header DosHeader
ArrayRef< uint8_t > DosStub
object::coff_file_header CoffFileHeader
bool Is64 = false
object::pe32plus_header PeHeader
uint32_t BaseOfData = 0
std::vector< object::data_directory > DataDirectories

Definition at line 96 of file COFFObject.h.

addSections()

void llvm::objcopy::coff::Object::addSections ( ArrayRef< Section > NewSections )

addSymbols()

void llvm::objcopy::coff::Object::addSymbols ( ArrayRef< Symbol > NewSymbols )

findSection()

const Section * llvm::objcopy::coff::Object::findSection ( ssize_t UniqueId ) const

findSymbol()

const Symbol * llvm::objcopy::coff::Object::findSymbol ( size_t UniqueId ) const

getMutableSections()

iterator_range< std::vector< Section >::iterator > llvm::objcopy::coff::Object::getMutableSections ( ) inline

getMutableSymbols()

iterator_range< std::vector< Symbol >::iterator > llvm::objcopy::coff::Object::getMutableSymbols ( ) inline

getSections()

ArrayRef< Section > llvm::objcopy::coff::Object::getSections ( ) const inline

getSymbols()

ArrayRef< Symbol > llvm::objcopy::coff::Object::getSymbols ( ) const inline

markSymbols()

Error llvm::objcopy::coff::Object::markSymbols ( )

removeSections()

Definition at line 90 of file COFFObject.cpp.

References llvm::objcopy::coff::Symbol::AssociativeComdatTargetSectionId, llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::clear(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::contains(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty(), llvm::erase_if(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), llvm::objcopy::coff::Symbol::TargetSectionId, ToRemove, and llvm::objcopy::coff::Section::UniqueId.

removeSymbols()

truncateSections()

BaseOfData

uint32_t llvm::objcopy::coff::Object::BaseOfData = 0

CoffFileHeader

DataDirectories

DosHeader

DosStub

Is64

bool llvm::objcopy::coff::Object::Is64 = false

IsPE

bool llvm::objcopy::coff::Object::IsPE = false

PeHeader


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