mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-11 20:46:06 +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
720 B
C++
22 lines
720 B
C++
//===- PDBSymbolUsingNamespace.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/PDBSymbolUsingNamespace.h"
|
|
|
|
using namespace llvm;
|
|
|
|
PDBSymbolUsingNamespace::PDBSymbolUsingNamespace(
|
|
IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
|
|
: PDBSymbol(PDBSession, std::move(Symbol)) {}
|
|
|
|
void PDBSymbolUsingNamespace::dump(llvm::raw_ostream &OS) const {}
|