Home | History | Annotate | Download | only in llvm-readobj
      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 #include "Error.h"
     17 #include "StreamWriter.h"
     18 #include "llvm/ADT/StringRef.h"
     19 #include "llvm/Object/ObjectFile.h"
     20 #include "llvm/Support/raw_ostream.h"
     21 
     22 namespace llvm {
     23 
     24 ObjDumper::ObjDumper(StreamWriter& Writer)
     25   : W(Writer) {
     26 }
     27 
     28 ObjDumper::~ObjDumper() {
     29 }
     30 
     31 } // namespace llvm
     32