xref: /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1 //===- PDBSymbolCustom.cpp - 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 #include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
10 
11 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
13 
14 using namespace llvm;
15 using namespace llvm::pdb;
16 
17 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
18   RawSymbol->getDataBytes(bytes);
19 }
20 
21 void PDBSymbolCustom::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }
22