2015-02-08 01:29:29 +01:00
|
|
|
//===- PDBSymbolExe.cpp - ---------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-02-14 04:53:56 +01:00
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbolExe.h"
|
|
|
|
|
2015-02-22 23:03:38 +01:00
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
|
2015-02-08 01:29:29 +01:00
|
|
|
|
2015-02-14 04:53:56 +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
|
|
|
|
2015-02-08 23:53:53 +01:00
|
|
|
PDBSymbolExe::PDBSymbolExe(const IPDBSession &PDBSession,
|
2015-02-08 21:58:09 +01:00
|
|
|
std::unique_ptr<IPDBRawSymbol> Symbol)
|
2017-04-10 08:14:09 +02:00
|
|
|
: PDBSymbol(PDBSession, std::move(Symbol)) {
|
|
|
|
assert(RawSymbol->getSymTag() == PDB_SymType::Exe);
|
|
|
|
}
|
2015-02-08 01:29:29 +01:00
|
|
|
|
2015-03-01 07:51:29 +01:00
|
|
|
void PDBSymbolExe::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }
|