mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
1a7a66bda7
This increases the flexibility of how to dump different symbol types -- necessary for context-sensitive formatting of symbol types -- and also improves the modularity by allowing the dumping to be implemented in the actual dumper, as opposed to in the PDB library. llvm-svn: 230184
27 lines
880 B
C++
27 lines
880 B
C++
//===- PDBSymbolCompilandDetails.cpp - compiland details --------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h"
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
|
|
|
#include <utility>
|
|
|
|
using namespace llvm;
|
|
|
|
PDBSymbolCompilandDetails::PDBSymbolCompilandDetails(
|
|
const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
|
|
: PDBSymbol(PDBSession, std::move(Symbol)) {}
|
|
|
|
void PDBSymbolCompilandDetails::dump(raw_ostream &OS, int Indent,
|
|
PDBSymDumper &Dumper) const {
|
|
Dumper.dump(*this, OS, Indent);
|
|
}
|