PDBSymbolCustom.cpp 753 B

123456789101112131415161718192021
  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. #include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
  9. #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
  10. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  11. using namespace llvm;
  12. using namespace llvm::pdb;
  13. void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
  14. RawSymbol->getDataBytes(bytes);
  15. }
  16. void PDBSymbolCustom::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }