1 //===- NativeTypeArray.h ------------------------------------------ C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
12 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
14 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
15 #include "llvm/DebugInfo/PDB/PDBTypes.h"
22 class NativeTypeArray : public NativeRawSymbol {
24 NativeTypeArray(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
25 codeview::ArrayRecord Record);
26 ~NativeTypeArray() override;
28 void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
29 PdbSymbolIdField RecurseIdFields) const override;
31 SymIndexId getArrayIndexTypeId() const override;
33 bool isConstType() const override;
34 bool isUnalignedType() const override;
35 bool isVolatileType() const override;
37 uint32_t getCount() const override;
38 SymIndexId getTypeId() const override;
39 uint64_t getLength() const override;
42 codeview::ArrayRecord Record;
43 codeview::TypeIndex Index;