|
LLVM 22.0.0git
|
#include "llvm/DebugInfo/GSYM/CallSiteInfo.h"
Public Types | |
| enum | Flags : uint8_t { None = 0 , InternalCall = 1 << 0 , ExternalCall = 1 << 1 , LLVM_MARK_AS_BITMASK_ENUM =( ExternalCall) } |
Public Member Functions | |
| bool | operator== (const CallSiteInfo &RHS) const |
| Equality comparison operator for CallSiteInfo. | |
| bool | operator!= (const CallSiteInfo &RHS) const |
| Inequality comparison operator for CallSiteInfo. | |
| LLVM_ABI llvm::Error | encode (FileWriter &O) const |
| Encode this CallSiteInfo object into a FileWriter stream. | |
Static Public Member Functions | |
| static LLVM_ABI llvm::Expected< CallSiteInfo > | decode (DataExtractor &Data, uint64_t &Offset) |
| Decode a CallSiteInfo object from a binary data stream. | |
Public Attributes | |
| uint64_t | ReturnOffset = 0 |
| The return offset of the call site - relative to the function start. | |
| std::vector< uint32_t > | MatchRegex |
| Offsets into the string table for function names regex patterns. | |
| uint8_t | Flags = CallSiteInfo::Flags::None |
| Bitwise OR of CallSiteInfo::Flags values. | |
Definition at line 31 of file CallSiteInfo.h.
| Enumerator | |
|---|---|
| None | |
| InternalCall | |
| ExternalCall | |
| LLVM_MARK_AS_BITMASK_ENUM | |
Definition at line 32 of file CallSiteInfo.h.
|
static |
Decode a CallSiteInfo object from a binary data stream.
| Data | The binary stream to read the data from. |
| Offset | The current offset within the data stream. |
Definition at line 34 of file CallSiteInfo.cpp.
References llvm::createStringError(), llvm::Data, MatchRegex, llvm::Offset, and ReturnOffset.
Referenced by llvm::gsym::CallSiteInfoCollection::decode().
| Error CallSiteInfo::encode | ( | FileWriter & | O | ) | const |
Encode this CallSiteInfo object into a FileWriter stream.
| O | The binary stream to write the data to. |
Definition at line 25 of file CallSiteInfo.cpp.
References encode(), MatchRegex, ReturnOffset, and llvm::Error::success().
Referenced by encode().
|
inline |
Inequality comparison operator for CallSiteInfo.
Definition at line 60 of file CallSiteInfo.h.
References RHS.
|
inline |
Equality comparison operator for CallSiteInfo.
Definition at line 54 of file CallSiteInfo.h.
References MatchRegex, ReturnOffset, and RHS.
Bitwise OR of CallSiteInfo::Flags values.
Definition at line 51 of file CallSiteInfo.h.
| std::vector<uint32_t> llvm::gsym::CallSiteInfo::MatchRegex |
Offsets into the string table for function names regex patterns.
Definition at line 48 of file CallSiteInfo.h.
Referenced by decode(), llvm::gsym::GsymReader::dump(), encode(), llvm::gsym::operator<<(), and operator==().
| uint64_t llvm::gsym::CallSiteInfo::ReturnOffset = 0 |
The return offset of the call site - relative to the function start.
Definition at line 45 of file CallSiteInfo.h.
Referenced by decode(), llvm::gsym::GsymReader::dump(), encode(), llvm::gsym::operator<<(), and operator==().