1 //===-- ObjDumper.cpp - Base dumper 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 /// \file 11 /// \brief This file implements ObjDumper. 12 /// 13 //===----------------------------------------------------------------------===// 14 15 #include "ObjDumper.h" 16 17 #include "Error.h" 18 #include "StreamWriter.h" 19 20 #include "llvm/ADT/StringRef.h" 21 #include "llvm/Object/ObjectFile.h" 22 #include "llvm/Support/raw_ostream.h" 23 24 namespace llvm { 25 26 ObjDumper::ObjDumper(StreamWriter& Writer) 27 : W(Writer) { 28 } 29 30 ObjDumper::~ObjDumper() { 31 } 32 33 } // namespace llvm 34