1 //===-- llvm/MC/MCSymbolizer.cpp - MCSymbolizer class -----------*- 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 10 #include "llvm/MC/MCSymbolizer.h" 11 #include "llvm/MC/MCRelocationInfo.h" 12 13 using namespace llvm; 14 15 MCSymbolizer::MCSymbolizer(MCContext &Ctx, OwningPtr<MCRelocationInfo> &RelInfo) 16 : Ctx(Ctx), RelInfo(RelInfo.take()) { 17 } 18 19 MCSymbolizer::~MCSymbolizer() { 20 } 21