9 #ifndef LLVM_DEBUGINFO_GSYM_LINETABLE_H 10 #define LLVM_DEBUGINFO_GSYM_LINETABLE_H 119 typedef std::vector<gsym::LineEntry> Collection;
167 bool empty()
const {
return Lines.empty(); }
173 return !Lines.empty();
193 return Lines == RHS.Lines;
196 return Lines != RHS.Lines;
199 const auto LHSSize = Lines.size();
200 const auto RHSSize = RHS.Lines.size();
201 if (LHSSize == RHSSize)
202 return Lines < RHS.Lines;
203 return LHSSize < RHSSize;
205 Collection::const_iterator
begin()
const {
return Lines.begin(); }
206 Collection::const_iterator
end()
const {
return Lines.end(); }
215 #endif // #ifndef LLVM_DEBUGINFO_GSYM_LINETABLE_H This class represents lattice values for constants.
void push(const LineEntry &LE)
const LineEntry & operator[](size_t i) const
bool operator<(const LineTable &RHS) const
Line entries are used to encode the line tables in FunctionInfo objects.
bool operator==(const LineTable &RHS) const
Collection::const_iterator end() const
Tagged union holding either a T or a Error.
LineTable class contains deserialized versions of line tables for each function's address ranges...
A simplified binary data writer class that doesn't require targets, target definitions, architectures, or require any other optional compile time libraries to be enabled via the build process.
static llvm::Expected< LineTable > decode(DataExtractor &Data, uint64_t BaseAddr)
Decode an LineTable object from a binary data stream.
llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const
Encode this LineTable object into FileWriter stream.
LineEntry & operator[](size_t i)
static Expected< LineEntry > lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr)
Lookup a single address within a line table's data.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
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...
bool operator!=(const LineTable &RHS) const
raw_ostream & operator<<(raw_ostream &OS, const FunctionInfo &R)
Collection::const_iterator begin() const