LLVM  10.0.0svn
DIATable.h
Go to the documentation of this file.
1 //===- DIATable.h - DIA implementation of IPDBTable -------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIATABLE_H
10 #define LLVM_DEBUGINFO_PDB_DIA_DIATABLE_H
11 
12 #include "DIASupport.h"
14 
15 namespace llvm {
16 namespace pdb {
17 class DIATable : public IPDBTable {
18 public:
19  explicit DIATable(CComPtr<IDiaTable> DiaTable);
20 
21  uint32_t getItemCount() const override;
22  std::string getName() const override;
23  PDB_TableType getTableType() const override;
24 
25 private:
26  CComPtr<IDiaTable> Table;
27 };
28 }
29 }
30 
31 #endif // LLVM_DEBUGINFO_PDB_DIA_DIATABLE_H
This class represents lattice values for constants.
Definition: AllocatorList.h:23
PDB_TableType getTableType() const override
Definition: DIATable.cpp:26
uint32_t getItemCount() const override
Definition: DIATable.cpp:17
std::string getName() const override
Definition: DIATable.cpp:22
PDB_TableType
An enumeration indicating the type of data contained in this table.
Definition: PDBTypes.h:84
DIATable(CComPtr< IDiaTable > DiaTable)
Definition: DIATable.cpp:15