LLVM 20.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
12using namespace llvm;
13using 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
19PDBSymDumper::PDBSymDumper(bool ShouldRequireImpl)
20 : RequireImpl(ShouldRequireImpl) {}
21
23
26}
27
30}
31
34}
35
38}
39
42}
43
46}
47
48void PDBSymDumper::dump(const PDBSymbolData &Symbol) {
50}
51
52void PDBSymDumper::dump(const PDBSymbolExe &Symbol) {
54}
55
56void PDBSymDumper::dump(const PDBSymbolFunc &Symbol) {
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}
#define PDB_SYMDUMP_UNREACHABLE(Type)
virtual void dump(const PDBSymbolAnnotation &Symbol)
PDBSymDumper(bool ShouldRequireImpl)
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lex...
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18