LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::gsym::CallSiteInfoCollection Struct Reference

#include "llvm/DebugInfo/GSYM/CallSiteInfo.h"

Public Member Functions

llvm::Error encode (FileWriter &O) const
 Encode this CallSiteInfoCollection object into a FileWriter stream.
 

Static Public Member Functions

static llvm::Expected< CallSiteInfoCollectiondecode (DataExtractor &Data)
 Decode a CallSiteInfoCollection object from a binary data stream.
 

Public Attributes

std::vector< CallSiteInfoCallSites
 

Detailed Description

Definition at line 67 of file CallSiteInfo.h.

Member Function Documentation

◆ decode()

Expected< CallSiteInfoCollection > CallSiteInfoCollection::decode ( DataExtractor Data)
static

Decode a CallSiteInfoCollection object from a binary data stream.

Parameters
DataThe binary stream to read the data from.
Returns
A CallSiteInfoCollection or an error describing the issue.

Definition at line 82 of file CallSiteInfo.cpp.

References CallSites, llvm::createStringError(), llvm::Data, llvm::gsym::CallSiteInfo::decode(), llvm::Offset, and llvm::Expected< T >::takeError().

Referenced by llvm::gsym::FunctionInfo::decode().

◆ encode()

Error CallSiteInfoCollection::encode ( FileWriter O) const

Encode this CallSiteInfoCollection object into a FileWriter stream.

Parameters
OThe binary stream to write the data to.
Returns
An error object that indicates success or failure.

Definition at line 72 of file CallSiteInfo.cpp.

References CallSites, and llvm::Error::success().

Member Data Documentation

◆ CallSites

std::vector<CallSiteInfo> llvm::gsym::CallSiteInfoCollection::CallSites

The documentation for this struct was generated from the following files: