llvm::object::SectionRef

This is a value type class that represents a single section in the list of sections in the object file.

Synopsis

Declared in <llvm/Object/ObjectFile.h>

class SectionRef;

Member Functions

NameDescription
SectionRef [constructor]SectionRef
containsSymbol True if this section contains symbol S.
getAddress
getAlignment Get the alignment of this section.
getContents
getIndex
getName
getObject
getRawDataRefImpl
getRelocatedSection Returns the related section if this section contains relocations. The returned section may or may not have applied its relocations.
getSize
isBSS Whether this section contains BSS uninitialized data.
isBerkeleyData Whether this section will be placed in the data segment, according to the Berkeley size format. This is true if the section is allocatable and contains data (e.g. PROGBITS), but is not text.
isBerkeleyText Whether this section will be placed in the text segment, according to the Berkeley size format. This is true if the section is allocatable, and contains either code or readonly data.
isBitcode
isCompressed
isData Whether this section contains data, not instructions.
isDebugSection Whether this section is a debug section.
isStripped
isText Whether this section contains instructions.
isVirtual
moveNext
relocation_begin
relocation_end
relocations Range of relocations in this section.
operator== Equality operator
operator!= Inequality operator
operator< Less-than operator

Friends

NameDescription
llvm::object::SymbolRefThis is a value type class that represents a single symbol in the list of symbols in the object file.

Derived Classes

NameDescription
ELFSectionRef