LLVM 22.0.0git
|
Public Member Functions | |
ParseContext (const ObjectFile &Obj, const ParseOptions &Opts) | |
Expected< DataExtractor > | makeExtractor (SectionRef Sec) |
std::optional< SectionRef > | findSection (StringRef Name) const |
Public Attributes | |
const ObjectFile & | Obj |
const ParseOptions & | Opts |
DenseMap< StringRef, SectionRef > | Sections |
Definition at line 77 of file BTFParser.cpp.
|
inline |
Definition at line 84 of file BTFParser.cpp.
|
inline |
Definition at line 95 of file BTFParser.cpp.
References Sections.
|
inline |
Definition at line 87 of file BTFParser.cpp.
References llvm::Expected< T >::get(), llvm::object::SectionRef::getContents(), Obj, and llvm::Expected< T >::takeError().
const ObjectFile& llvm::BTFParser::ParseContext::Obj |
Definition at line 78 of file BTFParser.cpp.
Referenced by makeExtractor(), and ParseContext().
const ParseOptions& llvm::BTFParser::ParseContext::Opts |
Definition at line 79 of file BTFParser.cpp.
Referenced by ParseContext().
DenseMap<StringRef, SectionRef> llvm::BTFParser::ParseContext::Sections |
Definition at line 81 of file BTFParser.cpp.
Referenced by findSection().