LLVM  14.0.0git
PDBSymDumper.cpp
Go to the documentation of this file.
1 //===- PDBSymDumper.cpp - ---------------------------------------*- 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 
11 
12 using namespace llvm;
13 using namespace llvm::pdb;
14 
15 #define PDB_SYMDUMP_UNREACHABLE(Type) \
16  if (RequireImpl) \
17  llvm_unreachable("Attempt to dump " #Type " with no dump implementation");
18 
19 PDBSymDumper::PDBSymDumper(bool ShouldRequireImpl)
20  : RequireImpl(ShouldRequireImpl) {}
21 
22 PDBSymDumper::~PDBSymDumper() = default;
23 
26 }
27 
30 }
31 
34 }
35 
38 }
39 
42 }
43 
46 }
47 
50 }
51 
54 }
55 
58 }
59 
62 }
63 
66 }
67 
70 }
71 
74 }
75 
78 }
79 
82 }
83 
86 }
87 
90 }
91 
94 }
95 
98 }
99 
102 }
103 
106 }
107 
110 }
111 
114 }
115 
118 }
119 
122 }
123 
126 }
127 
130 }
131 
134 }
135 
138 }
139 
142 }
143 
146 }
llvm::pdb::PDBSymbolCompilandEnv
Definition: PDBSymbolCompilandEnv.h:19
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::pdb::PDBSymbolPublicSymbol
Definition: PDBSymbolPublicSymbol.h:20
llvm::pdb::PDBSymbolTypeEnum
Definition: PDBSymbolTypeEnum.h:22
ErrorHandling.h
llvm::pdb::PDBSymbolTypeVTable
Definition: PDBSymbolTypeVTable.h:20
PDBSymDumper.h
llvm::pdb::PDBSymbolData
Definition: PDBSymbolData.h:22
llvm::pdb::PDBSymDumper::~PDBSymDumper
virtual ~PDBSymDumper()
llvm::pdb::PDBSymbolTypeTypedef
Definition: PDBSymbolTypeTypedef.h:20
llvm::pdb::PDBSymbolTypeFriend
Definition: PDBSymbolTypeFriend.h:20
llvm::pdb::PDBSymbolTypeDimension
Definition: PDBSymbolTypeDimension.h:20
llvm::pdb::PDBSymbolTypeFunctionArg
Definition: PDBSymbolTypeFunctionArg.h:20
llvm::pdb::PDBSymbolExe
Definition: PDBSymbolExe.h:21
llvm::pdb::PDBSymDumper::dump
virtual void dump(const PDBSymbolAnnotation &Symbol)
Definition: PDBSymDumper.cpp:24
llvm::pdb::PDBSymbolTypeBaseClass
Definition: PDBSymbolTypeBaseClass.h:23
llvm::pdb::PDBSymbolTypeCustom
Definition: PDBSymbolTypeCustom.h:20
llvm::pdb::PDBSymDumper::PDBSymDumper
PDBSymDumper(bool ShouldRequireImpl)
Definition: PDBSymDumper.cpp:19
llvm::pdb::PDBSymbolTypeArray
Definition: PDBSymbolTypeArray.h:20
llvm::pdb::PDBSymbolTypeFunctionSig
Definition: PDBSymbolTypeFunctionSig.h:20
llvm::pdb
Definition: ConcreteSymbolEnumerator.h:20
llvm::pdb::PDBSymbolTypePointer
Definition: PDBSymbolTypePointer.h:20
llvm::pdb::PDBSymbolTypeVTableShape
Definition: PDBSymbolTypeVTableShape.h:20
llvm::pdb::PDBSymbolBlock
Definition: PDBSymbolBlock.h:20
llvm::pdb::PDBSymbolAnnotation
Definition: PDBSymbolAnnotation.h:19
llvm::pdb::PDBSymbolLabel
Definition: PDBSymbolLabel.h:20
llvm::pdb::PDBSymbolFuncDebugStart
Definition: PDBSymbolFuncDebugStart.h:20
llvm::pdb::PDBSymbolThunk
Definition: PDBSymbolThunk.h:20
llvm::pdb::PDBSymbolUnknown
Definition: PDBSymbolUnknown.h:19
llvm::pdb::PDBSymbolFuncDebugEnd
Definition: PDBSymbolFuncDebugEnd.h:21
llvm::pdb::PDBSymbolTypeManaged
Definition: PDBSymbolTypeManaged.h:20
llvm::pdb::PDBSymbolCompilandDetails
Definition: PDBSymbolCompilandDetails.h:20
llvm::ARMBuildAttrs::Symbol
@ Symbol
Definition: ARMBuildAttributes.h:79
llvm::pdb::PDBSymbolTypeBuiltin
Definition: PDBSymbolTypeBuiltin.h:20
llvm::pdb::PDBSymbolFunc
Definition: PDBSymbolFunc.h:23
llvm::pdb::PDBSymbolUsingNamespace
Definition: PDBSymbolUsingNamespace.h:20
llvm::pdb::PDBSymbolCompiland
Definition: PDBSymbolCompiland.h:21
llvm::pdb::PDBSymbolTypeUDT
Definition: PDBSymbolTypeUDT.h:24
llvm::pdb::PDBSymbolCustom
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lex...
Definition: PDBSymbolCustom.h:24
PDB_SYMDUMP_UNREACHABLE
#define PDB_SYMDUMP_UNREACHABLE(Type)
Definition: PDBSymDumper.cpp:15