2015-02-08 08:29:29 +08:00
|
|
|
//===- PDBSymbolPublicSymbol.cpp - ------------------------------*- 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/PDBSymbolPublicSymbol.h"
|
2015-02-14 11:53:56 +08:00
|
|
|
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
|
|
|
|
|
2015-02-13 17:09:03 +08:00
|
|
|
#include <utility>
|
2015-02-08 08:29:29 +08:00
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
PDBSymbolPublicSymbol::PDBSymbolPublicSymbol(
|
2015-02-09 06:53:53 +08:00
|
|
|
const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
|
2015-02-09 07:15:37 +08:00
|
|
|
: PDBSymbol(PDBSession, std::move(Symbol)) {}
|
2015-02-08 08:29:29 +08:00
|
|
|
|
2015-02-11 06:43:25 +08:00
|
|
|
void PDBSymbolPublicSymbol::dump(raw_ostream &OS, int Indent,
|
2015-02-13 15:40:03 +08:00
|
|
|
PDB_DumpLevel Level) const {
|
|
|
|
OS << stream_indent(Indent);
|
|
|
|
OS << "public symbol: " << getName();
|
|
|
|
}
|