LLVM 20.0.0git
Functions
SymbolSize.cpp File Reference
#include "llvm/Object/SymbolSize.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Object/COFF.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Object/MachO.h"
#include "llvm/Object/Wasm.h"
#include "llvm/Object/XCOFFObjectFile.h"

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()

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

Definition at line 29 of file SymbolSize.cpp.

References llvm::object::SectionRef::getIndex().

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

◆ getSymbolSectionID()

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

Definition at line 39 of file SymbolSize.cpp.

References Sym.

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