Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_GSYM_FUNCTIONINFO_H
10 #define LLVM_DEBUGINFO_GSYM_FUNCTIONINFO_H
193 return !(LHS == RHS);
207 return RHS.
Inline.hasValue();
217 #endif // LLVM_DEBUGINFO_GSYM_FUNCTIONINFO_H
This class represents lattice values for constants.
uint32_t Name
String table offset in the string table.
bool isValid() const
Query if a FunctionInfo object is valid.
llvm::Optional< LineTable > OptLineTable
Tagged union holding either a T or a Error.
bool operator==(const FunctionInfo &LHS, const FunctionInfo &RHS)
GsymReader is used to read GSYM data from a file or buffer.
raw_ostream & operator<<(raw_ostream &OS, const FunctionInfo &R)
bool hasRichInfo() const
Query if a FunctionInfo has rich debug info.
uint64_t startAddress() const
static llvm::Expected< LookupResult > lookup(DataExtractor &Data, const GsymReader &GR, uint64_t FuncAddr, uint64_t Addr)
Lookup an address within a FunctionInfo object's data stream.
This class implements an extremely fast bulk output stream that can only output to a stream.
llvm::Optional< InlineInfo > Inline
Function information in GSYM files encodes information for one contiguous address range.
static llvm::Expected< FunctionInfo > decode(DataExtractor &Data, uint64_t BaseAddr)
Decode an object from a binary data stream.
llvm::Expected< uint64_t > encode(FileWriter &O) const
Encode this object into FileWriter stream.
FunctionInfo(uint64_t Addr=0, uint64_t Size=0, uint32_t N=0)
A simplified binary data writer class that doesn't require targets, target definitions,...
uint64_t endAddress() const
void setEndAddress(uint64_t Addr)
A class that represents an address range.
bool operator!=(const FunctionInfo &LHS, const FunctionInfo &RHS)
void setStartAddress(uint64_t Addr)
bool operator<(const FunctionInfo &LHS, const FunctionInfo &RHS)
This sorting will order things consistently by address range first, but then followed by inlining bei...
void setSize(uint64_t Size)