LLVM 20.0.0git
|
#include "llvm/DebugInfo/BTF/BTFContext.h"
Static Public Member Functions | |
static std::unique_ptr< BTFContext > | create (const object::ObjectFile &Obj, std::function< void(Error)> ErrorHandler=WithColor::defaultErrorHandler) |
Additional Inherited Members | |
Public Types inherited from llvm::DIContext | |
enum | DIContextKind { CK_DWARF , CK_PDB , CK_BTF } |
Definition at line 22 of file BTFContext.h.
|
inline |
Definition at line 26 of file BTFContext.h.
|
static |
Definition at line 63 of file BTFContext.cpp.
References ErrorHandler, and llvm::BTFParser::ParseOptions::LoadLines.
|
inlineoverridevirtual |
Implements llvm::DIContext.
Definition at line 28 of file BTFContext.h.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 51 of file BTFContext.cpp.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 23 of file BTFContext.cpp.
References llvm::Address, llvm::BTF::BPFLineInfo::FileNameOff, llvm::BTFParser::findLineInfo(), llvm::BTFParser::findString(), llvm::BTF::BPFLineInfo::getCol(), llvm::BTF::BPFLineInfo::getLine(), and llvm::BTF::BPFLineInfo::LineOff.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 43 of file BTFContext.cpp.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 37 of file BTFContext.cpp.
|
overridevirtual |
Implements llvm::DIContext.
Definition at line 57 of file BTFContext.cpp.