LLVM 22.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
27
31
35
39
43
47
51
55
59
63
67
71
75
79
83
87
91
95
99
103
107
111
115
119
123
127
131
135
139
143
#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.