9 #ifndef LLVM_DEBUGINFO_GSYM_INLINEINFO_H 10 #define LLVM_DEBUGINFO_GSYM_INLINEINFO_H 123 uint64_t BaseAddr, uint64_t
Addr,
182 #endif // #ifndef LLVM_DEBUGINFO_GSYM_INLINEINFO_H GsymReader is used to read GSYM data from a file or buffer.
static llvm::Error lookup(const GsymReader &GR, DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs)
Lookup a single address within the inline info data.
This class represents lattice values for constants.
Inline information stores the name of the inline function along with an array of address ranges.
The AddressRanges class helps normalize address range collections.
uint32_t Name
String table offset in the string table.
Tagged union holding either a T or a Error.
std::vector< InlineInfo > Children
llvm::Optional< InlineArray > getInlineStack(uint64_t Addr) const
Lookup an address in the InlineInfo object.
A simplified binary data writer class that doesn't require targets, target definitions,...
static llvm::Expected< InlineInfo > decode(DataExtractor &Data, uint64_t BaseAddr)
Decode an InlineInfo object from a binary data stream.
std::vector< const InlineInfo * > InlineArray
uint32_t CallFile
1 based file index in the file table.
bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS)
std::vector< SourceLocation > SourceLocations
uint32_t CallLine
Source line number.
Lightweight error class with error context and mandatory checking.
This class implements an extremely fast bulk output stream that can only output to a stream.
llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const
Encode this InlineInfo object into FileWriter stream.
raw_ostream & operator<<(raw_ostream &OS, const FunctionInfo &R)