LLVM  15.0.0git
NativeTypeTypedef.h
Go to the documentation of this file.
1 //===- NativeTypeTypedef.h - info about typedef ------------------*- 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_NATIVE_NATIVETYPETYPEDEF_H
10 #define LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEF_H
11 
16 
17 namespace llvm {
18 
19 class raw_ostream;
20 
21 namespace pdb {
22 
23 class NativeSession;
24 
26 public:
27  // Create a pointer record for a non-simple type.
30 
31  ~NativeTypeTypedef() override;
32 
33  void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
34  PdbSymbolIdField RecurseIdFields) const override;
35 
36  std::string getName() const override;
37  SymIndexId getTypeId() const override;
38 
39 protected:
41 };
42 
43 } // namespace pdb
44 } // namespace llvm
45 
46 #endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVETYPETYPEDEF_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:17
llvm::pdb::NativeTypeTypedef::dump
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition: NativeTypeTypedef.cpp:16
IPDBRawSymbol.h
SymbolRecord.h
llvm::pdb::NativeTypeTypedef::~NativeTypeTypedef
~NativeTypeTypedef() override
llvm::pdb::NativeTypeTypedef::Record
codeview::UDTSym Record
Definition: NativeTypeTypedef.h:40
llvm::pdb::NativeTypeTypedef::getName
std::string getName() const override
Definition: NativeTypeTypedef.cpp:25
llvm::pdb::NativeTypeTypedef::getTypeId
SymIndexId getTypeId() const override
Definition: NativeTypeTypedef.cpp:29
llvm::raw_ostream
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:54
PDBTypes.h
llvm::pdb::NativeTypeTypedef::NativeTypeTypedef
NativeTypeTypedef(NativeSession &Session, SymIndexId Id, codeview::UDTSym Typedef)
Definition: NativeTypeTypedef.cpp:9
uint32_t
llvm::pdb::NativeTypeTypedef
Definition: NativeTypeTypedef.h:25
NativeRawSymbol.h
llvm::pdb::NativeSession
Definition: NativeSession.h:32
llvm::pdb::PdbSymbolIdField
PdbSymbolIdField
Definition: IPDBRawSymbol.h:24
llvm::pdb::PDB_SymType::Typedef
@ Typedef
llvm::pdb::NativeRawSymbol::Session
NativeSession & Session
Definition: NativeRawSymbol.h:232
llvm::AMDGPU::VGPRIndexMode::Id
Id
Definition: SIDefines.h:241
llvm::codeview::UDTSym
Definition: SymbolRecord.h:864
llvm::pdb::NativeRawSymbol
Definition: NativeRawSymbol.h:21