13 #ifndef LLVM_XRAY_TRACE_H 14 #define LLVM_XRAY_TRACE_H 49 using RecordVector = std::vector<XRayRecord>;
52 typedef std::vector<XRayRecord>::const_iterator citerator;
66 bool empty()
const {
return Records.empty(); }
81 #endif // LLVM_XRAY_TRACE_H friend Expected< Trace > loadTrace(const DataExtractor &, bool)
This function will attempt to load XRay trace records from the provided DataExtractor.
This class represents lattice values for constants.
Expected< Trace > loadTraceFile(StringRef Filename, bool Sort=false)
This function will attempt to load XRay trace records from the provided |Filename|.
RecordVector::size_type size_type
Tagged union holding either a T or a Error.
RecordVector::const_iterator const_iterator
const_iterator end() const
A Trace object represents the records that have been loaded from XRay log files generated by instrume...
const_iterator begin() const
RecordVector::value_type value_type
const XRayFileHeader & getFileHeader() const
Provides access to the loaded XRay trace file header.
StringRef - Represent a constant reference to a string, i.e.