blob: a782cad00ae99b4302ba5eb1e6c51cfd78addcf6 [file] [log] [blame]
Zachary Turner21473f72015-02-08 00:29:29 +00001//===- PDBSymbolAnnotation.cpp - --------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
Zachary Turner21473f72015-02-08 00:29:29 +000010#include "llvm/DebugInfo/PDB/PDBSymbolAnnotation.h"
Zachary Turner52c9f882015-02-14 03:53:56 +000011
Zachary Turner9a818ad2015-02-22 22:03:38 +000012#include "llvm/DebugInfo/PDB/PDBSymDumper.h"
Zachary Turner52c9f882015-02-14 03:53:56 +000013
Chandler Carruth71f308a2015-02-13 09:09:03 +000014#include <utility>
Zachary Turner21473f72015-02-08 00:29:29 +000015
16using namespace llvm;
17
Zachary Turner98571ed2015-02-08 22:53:53 +000018PDBSymbolAnnotation::PDBSymbolAnnotation(const IPDBSession &PDBSession,
Zachary Turnerbae16b32015-02-08 20:58:09 +000019 std::unique_ptr<IPDBRawSymbol> Symbol)
20 : PDBSymbol(PDBSession, std::move(Symbol)) {}
Zachary Turner21473f72015-02-08 00:29:29 +000021
Zachary Turnerb52d08d2015-03-01 06:51:29 +000022void PDBSymbolAnnotation::dump(PDBSymDumper &Dumper) const {
23 Dumper.dump(*this);
Zachary Turner9a818ad2015-02-22 22:03:38 +000024}