Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:46

0001 //===- PDBSymbolCustom.h - compiler-specific types --------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
0010 #define LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H
0011 
0012 #include "PDBSymbol.h"
0013 #include "PDBTypes.h"
0014 #include "llvm/ADT/SmallVector.h"
0015 
0016 namespace llvm {
0017 
0018 namespace pdb {
0019 /// PDBSymbolCustom represents symbols that are compiler-specific and do not
0020 /// fit anywhere else in the lexical hierarchy.
0021 /// https://msdn.microsoft.com/en-us/library/d88sf09h.aspx
0022 class PDBSymbolCustom : public PDBSymbol {
0023   DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Custom)
0024 public:
0025   void dump(PDBSymDumper &Dumper) const override;
0026 
0027   void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes);
0028 };
0029 
0030 } // namespace llvm
0031 }
0032 
0033 #endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCUSTOM_H