LLVM: lib/Object/SymbolSize.cpp File Reference (original) (raw)
SymbolSize.cpp File Reference
#include "[llvm/Object/SymbolSize.h](SymbolSize%5F8h%5Fsource.html)"#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"#include "[llvm/Object/COFF.h](Object%5F2COFF%5F8h%5Fsource.html)"#include "[llvm/Object/ELFObjectFile.h](ELFObjectFile%5F8h%5Fsource.html)"#include "[llvm/Object/MachO.h](Object%5F2MachO%5F8h%5Fsource.html)"#include "[llvm/Object/Wasm.h](Object%5F2Wasm%5F8h%5Fsource.html)"#include "[llvm/Object/XCOFFObjectFile.h](XCOFFObjectFile%5F8h%5Fsource.html)"
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 |
|---|
Definition at line 29 of file SymbolSize.cpp.
References llvm::cast(), llvm::dyn_cast(), llvm::object::SectionRef::getIndex(), and llvm::isa().
Referenced by llvm::object::computeSymbolSizes().
◆ 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().