LLVM  14.0.0git
PDBSymbolCustom.h
Go to the documentation of this file.
1 //===- PDBSymbolCustom.h - compiler-specific types --------------*- 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_PDBSYMBOLCUSTOM_H
10 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
11 
12 #include "PDBSymbol.h"
13 #include "PDBTypes.h"
14 #include "llvm/ADT/SmallVector.h"
15 
16 namespace llvm {
17 
18 class raw_ostream;
19 
20 namespace pdb {
21 /// PDBSymbolCustom represents symbols that are compiler-specific and do not
22 /// fit anywhere else in the lexical hierarchy.
23 /// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx
24 class PDBSymbolCustom : public PDBSymbol {
26 public:
27  void dump(PDBSymDumper &Dumper) const override;
28 
30 };
31 
32 } // namespace llvm
33 }
34 
35 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::SmallVector< uint8_t, 32 >
DECLARE_PDB_SYMBOL_CONCRETE_TYPE
#define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue)
Definition: PDBSymbol.h:47
llvm::pdb::PDB_SymType::Custom
@ Custom
llvm::pdb::PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
Definition: PDBSymbol.h:70
PDBSymbol.h
PDBTypes.h
llvm::pdb::PDBSymDumper
Definition: PDBSymDumper.h:19
llvm::pdb::PDBSymbolCustom::getDataBytes
void getDataBytes(llvm::SmallVector< uint8_t, 32 > &bytes)
Definition: PDBSymbolCustom.cpp:20
SmallVector.h
llvm::pdb::PDBSymbolCustom::dump
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
Definition: PDBSymbolCustom.cpp:24
llvm::pdb::PDBSymbolCustom
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lex...
Definition: PDBSymbolCustom.h:24