2015-02-08 01:29:29 +01:00
|
|
|
//===- PDBSymbolFuncDebugStart.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/PDBSymbolFuncDebugStart.h"
|
2015-02-14 04:53:56 +01:00
|
|
|
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
|
2015-02-22 23:03:38 +01:00
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
2015-02-14 04:53:56 +01:00
|
|
|
|
2015-02-13 10:09:03 +01:00
|
|
|
#include <utility>
|
2015-02-08 01:29:29 +01:00
|
|
|
|
|
|
|
using namespace llvm;
|
2016-05-04 22:32:13 +02:00
|
|
|
using namespace llvm::pdb;
|
2015-02-08 01:29:29 +01:00
|
|
|
|
|
|
|
PDBSymbolFuncDebugStart::PDBSymbolFuncDebugStart(
|
2015-02-08 23:53:53 +01:00
|
|
|
const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
|
2017-04-10 08:14:09 +02:00
|
|
|
: PDBSymbol(PDBSession, std::move(Symbol)) {
|
|
|
|
assert(RawSymbol->getSymTag() == PDB_SymType::FuncDebugStart);
|
|
|
|
}
|
2015-02-08 01:29:29 +01:00
|
|
|
|
2015-03-01 07:51:29 +01:00
|
|
|
void PDBSymbolFuncDebugStart::dump(PDBSymDumper &Dumper) const {
|
|
|
|
Dumper.dump(*this);
|
2015-02-22 23:03:38 +01:00
|
|
|
}
|