LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::objcopy::coff::Section Struct Reference

#include "ObjCopy/COFF/COFFObject.h"

Public Member Functions

ArrayRef< uint8_tgetContents () const
 
void setContentsRef (ArrayRef< uint8_t > Data)
 
void setOwnedContents (std::vector< uint8_t > &&Data)
 
void clearContents ()
 

Public Attributes

object::coff_section Header
 
std::vector< RelocationRelocs
 
StringRef Name
 
ssize_t UniqueId
 
size_t Index
 

Detailed Description

Definition at line 35 of file COFFObject.h.

Member Function Documentation

◆ clearContents()

void llvm::objcopy::coff::Section::clearContents ( )
inline

Definition at line 59 of file COFFObject.h.

◆ getContents()

ArrayRef< uint8_t > llvm::objcopy::coff::Section::getContents ( ) const
inline

Definition at line 42 of file COFFObject.h.

Referenced by llvm::objcopy::coff::dumpSection().

◆ setContentsRef()

void llvm::objcopy::coff::Section::setContentsRef ( ArrayRef< uint8_t Data)
inline

Definition at line 48 of file COFFObject.h.

References llvm::Data.

◆ setOwnedContents()

void llvm::objcopy::coff::Section::setOwnedContents ( std::vector< uint8_t > &&  Data)
inline

Member Data Documentation

◆ Header

object::coff_section llvm::objcopy::coff::Section::Header

Definition at line 36 of file COFFObject.h.

Referenced by llvm::objcopy::coff::handleArgs(), and setOwnedContents().

◆ Index

size_t llvm::objcopy::coff::Section::Index

Definition at line 40 of file COFFObject.h.

◆ Name

StringRef llvm::objcopy::coff::Section::Name

◆ Relocs

std::vector<Relocation> llvm::objcopy::coff::Section::Relocs

Definition at line 37 of file COFFObject.h.

Referenced by llvm::objcopy::coff::handleArgs().

◆ UniqueId

ssize_t llvm::objcopy::coff::Section::UniqueId

Definition at line 39 of file COFFObject.h.

Referenced by llvm::objcopy::coff::Object::removeSections().


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