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

#include "ObjCopy/COFF/COFFObject.h"

Collaboration diagram for llvm::objcopy::coff::Section:
Collaboration graph
[legend]

Public Member Functions

ArrayRef< uint8_t > getContents () 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 36 of file COFFObject.h.

Member Function Documentation

◆ clearContents()

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

Definition at line 60 of file COFFObject.h.

◆ getContents()

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

Definition at line 43 of file COFFObject.h.

◆ setContentsRef()

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

Definition at line 49 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 37 of file COFFObject.h.

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

◆ Index

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

Definition at line 41 of file COFFObject.h.

◆ Name

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

◆ Relocs

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

Definition at line 38 of file COFFObject.h.

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

◆ UniqueId

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

Definition at line 40 of file COFFObject.h.

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


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