LLVM 22.0.0git
SymbolSize.cpp File Reference

Go to the source code of this file.

Functions

static unsigned getSectionID (const ObjectFile &O, SectionRef Sec)
static unsigned getSymbolSectionID (const ObjectFile &O, SymbolRef Sym)

Function Documentation

◆ getSectionID()

unsigned getSectionID ( const ObjectFile & O,
SectionRef Sec )
static

◆ getSymbolSectionID()

unsigned getSymbolSectionID ( const ObjectFile & O,
SymbolRef Sym )
static

Definition at line 39 of file SymbolSize.cpp.

References llvm::cast(), and llvm::dyn_cast().

Referenced by llvm::object::computeSymbolSizes().