LLVM 20.0.0git
|
#include "llvm/DebugInfo/GSYM/MergedFunctionsInfo.h"
Public Member Functions | |
void | clear () |
bool | isValid () |
Query if a MergedFunctionsInfo object is valid. | |
llvm::Error | encode (FileWriter &O) const |
Encode this MergedFunctionsInfo object into FileWriter stream. | |
Static Public Member Functions | |
static llvm::Expected< MergedFunctionsInfo > | decode (DataExtractor &Data, uint64_t BaseAddr) |
Decode an MergedFunctionsInfo object from a binary data stream. | |
Public Attributes | |
std::vector< FunctionInfo > | MergedFunctions |
Definition at line 24 of file MergedFunctionsInfo.h.
void MergedFunctionsInfo::clear | ( | ) |
Definition at line 17 of file MergedFunctionsInfo.cpp.
References MergedFunctions.
|
static |
Decode an MergedFunctionsInfo object from a binary data stream.
Data | The binary stream to read the data from. This object must have the data for the MergedFunctionsInfo object starting at offset zero. The data can contain more data than needed. |
BaseAddr | The base address to use when encoding all address ranges. |
Definition at line 36 of file MergedFunctionsInfo.cpp.
References llvm::Data, llvm::gsym::FunctionInfo::decode(), MergedFunctions, llvm::Offset, and llvm::Expected< T >::takeError().
Referenced by llvm::gsym::FunctionInfo::decode().
llvm::Error MergedFunctionsInfo::encode | ( | FileWriter & | O | ) | const |
Encode this MergedFunctionsInfo object into FileWriter stream.
O | The binary stream to write the data to at the current file position. |
Definition at line 19 of file MergedFunctionsInfo.cpp.
References F, llvm::gsym::FileWriter::fixup32(), llvm::Length, MergedFunctions, llvm::Error::success(), llvm::Expected< T >::takeError(), llvm::gsym::FileWriter::tell(), and llvm::gsym::FileWriter::writeU32().
|
inline |
Query if a MergedFunctionsInfo object is valid.
Definition at line 32 of file MergedFunctionsInfo.h.
References MergedFunctions.
std::vector<FunctionInfo> llvm::gsym::MergedFunctionsInfo::MergedFunctions |
Definition at line 25 of file MergedFunctionsInfo.h.
Referenced by clear(), decode(), llvm::gsym::GsymReader::dump(), encode(), and isValid().