#include "llvm/XRay/FDRRecordProducer.h"
#include "llvm/Support/DataExtractor.h"
#include <cstdint>
namespace llvm {
namespace xray {
namespace {
enum MetadataRecordKinds : uint8_t { … };
Expected<std::unique_ptr<Record>>
metadataRecordType(const XRayFileHeader &Header, uint8_t T) { … }
constexpr bool isMetadataIntroducer(uint8_t FirstByte) { … }
}
Expected<std::unique_ptr<Record>>
FileBasedRecordProducer::findNextBufferExtent() { … }
Expected<std::unique_ptr<Record>> FileBasedRecordProducer::produce() { … }
}
}