File indexing completed on 2026-05-10 08:43:45
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_DEBUGINFO_PDB_IPDBDATASTREAM_H
0010 #define LLVM_DEBUGINFO_PDB_IPDBDATASTREAM_H
0011
0012 #include "llvm/ADT/SmallVector.h"
0013 #include <cstdint>
0014 #include <optional>
0015 #include <string>
0016
0017 namespace llvm {
0018 namespace pdb {
0019
0020
0021
0022
0023 class IPDBDataStream {
0024 public:
0025 using RecordType = SmallVector<uint8_t, 32>;
0026
0027 virtual ~IPDBDataStream();
0028
0029 virtual uint32_t getRecordCount() const = 0;
0030 virtual std::string getName() const = 0;
0031 virtual std::optional<RecordType> getItemAtIndex(uint32_t Index) const = 0;
0032 virtual bool getNext(RecordType &Record) = 0;
0033 virtual void reset() = 0;
0034 };
0035
0036 }
0037 }
0038
0039 #endif