[LLVM][Alignment] Introduce Alignment In Attributes
[llvm-core.git] / lib / DebugInfo / PDB / PDBSymbolCustom.cpp
blob6c9a4aa76c3d7b9dd4e7ce63f304385394fcaf09
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 //===----------------------------------------------------------------------===//
9 #include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
11 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
12 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
13 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
15 #include <utility>
17 using namespace llvm;
18 using namespace llvm::pdb;
20 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
21 RawSymbol->getDataBytes(bytes);
24 void PDBSymbolCustom::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }