Back to home page

EIC code displayed by LXR

 
 

    


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

0001 //===- NativeTypeArray.h ------------------------------------------ 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_NATIVE_NATIVETYPEARRAY_H
0010 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPEARRAY_H
0011 
0012 #include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
0013 
0014 #include "llvm/DebugInfo/CodeView/TypeRecord.h"
0015 #include "llvm/DebugInfo/PDB/PDBTypes.h"
0016 
0017 namespace llvm {
0018 namespace pdb {
0019 
0020 class NativeSession;
0021 
0022 class NativeTypeArray : public NativeRawSymbol {
0023 public:
0024   NativeTypeArray(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
0025                   codeview::ArrayRecord Record);
0026   ~NativeTypeArray() override;
0027 
0028   void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
0029             PdbSymbolIdField RecurseIdFields) const override;
0030 
0031   SymIndexId getArrayIndexTypeId() const override;
0032 
0033   bool isConstType() const override;
0034   bool isUnalignedType() const override;
0035   bool isVolatileType() const override;
0036 
0037   uint32_t getCount() const override;
0038   SymIndexId getTypeId() const override;
0039   uint64_t getLength() const override;
0040 
0041 protected:
0042   codeview::ArrayRecord Record;
0043   codeview::TypeIndex Index;
0044 };
0045 
0046 } // namespace pdb
0047 } // namespace llvm
0048 
0049 #endif