LLVM  10.0.0svn
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 }
#define PDB_SYMDUMP_UNREACHABLE(Type)
This class represents lattice values for constants.
Definition: AllocatorList.h:23
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lex...
PDBSymDumper(bool ShouldRequireImpl)
virtual void dump(const PDBSymbolAnnotation &Symbol)