mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-10 07:36:07 +00:00

Dumping a symbol often requires access to data that isn't inside the symbol hierarchy, but which is only accessible through the top-level session. This patch is a pure interface change to give symbols a reference to the session. llvm-svn: 228542
22 lines
717 B
C++
22 lines
717 B
C++
//===- 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 <utility>
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
|
|
#include "llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h"
|
|
|
|
using namespace llvm;
|
|
|
|
PDBSymbolFuncDebugStart::PDBSymbolFuncDebugStart(
|
|
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
|
|
: PDBSymbol(Session, std::move(Symbol)) {}
|
|
|
|
void PDBSymbolFuncDebugStart::dump(llvm::raw_ostream &OS) const {}
|