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
16namespace llvm {
17
18namespace pdb {
19/// PDBSymbolCustom represents symbols that are compiler-specific and do not
20/// fit anywhere else in the lexical hierarchy.
21/// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx
22class PDBSymbolCustom : public PDBSymbol {
23 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Custom)
24public:
25 void dump(PDBSymDumper &Dumper) const override;
26
27 void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes);
28};
29
30} // namespace llvm
31}
32
33#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
34

source code of llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h