Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //===- DIADataStream.h - DIA implementation of IPDBDataStream ---*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIADATASTREAM_H
0010 #define LLVM_DEBUGINFO_PDB_DIA_DIADATASTREAM_H
0011 
0012 #include "DIASupport.h"
0013 #include "llvm/DebugInfo/PDB/IPDBDataStream.h"
0014 
0015 namespace llvm {
0016 namespace pdb {
0017 class DIADataStream : public IPDBDataStream {
0018 public:
0019   explicit DIADataStream(CComPtr<IDiaEnumDebugStreamData> DiaStreamData);
0020 
0021   uint32_t getRecordCount() const override;
0022   std::string getName() const override;
0023   std::optional<RecordType> getItemAtIndex(uint32_t Index) const override;
0024   bool getNext(RecordType &Record) override;
0025   void reset() override;
0026 
0027 private:
0028   CComPtr<IDiaEnumDebugStreamData> StreamData;
0029 };
0030 }
0031 }
0032 
0033 #endif