LLVM  7.0.0
PDBSymbolTypeArray.cpp
Go to the documentation of this file.
1 //===- PDBSymbolTypeArray.cpp - ---------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
11 
13 
14 #include <utility>
15 
16 using namespace llvm;
17 using namespace llvm::pdb;
18 
20  std::unique_ptr<IPDBRawSymbol> Symbol)
21  : PDBSymbol(PDBSession, std::move(Symbol)) {
22  assert(RawSymbol->getSymTag() == PDB_SymType::ArrayType);
23 }
24 
26  Dumper.dump(*this);
27 }
28 
30  Dumper.dumpRight(*this);
31 }
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
Definition: IPDBSession.h:26
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
std::unique_ptr< IPDBRawSymbol > RawSymbol
Definition: PDBSymbol.h:134
Definition: BitVector.h:921
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:61
virtual void dumpRight(const PDBSymbolTypeArray &Symbol)
Definition: PDBSymDumper.h:57
virtual void dump(const PDBSymbolAnnotation &Symbol)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
PDBSymbolTypeArray(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > ArrayTypeSymbol)
void dumpRight(PDBSymDumper &Dumper) const override
For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right...