2013-04-04 02:31:38 +08:00
|
|
|
//===-- ObjDumper.cpp - Base dumper class -----------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
///
|
|
|
|
/// \file
|
2018-05-01 23:54:18 +08:00
|
|
|
/// This file implements ObjDumper.
|
2013-04-04 02:31:38 +08:00
|
|
|
///
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "ObjDumper.h"
|
|
|
|
#include "Error.h"
|
|
|
|
#include "llvm/Object/ObjectFile.h"
|
2016-05-03 08:28:04 +08:00
|
|
|
#include "llvm/Support/ScopedPrinter.h"
|
2013-04-04 02:31:38 +08:00
|
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2016-05-03 08:28:04 +08:00
|
|
|
ObjDumper::ObjDumper(ScopedPrinter &Writer) : W(Writer) {}
|
2013-04-04 02:31:38 +08:00
|
|
|
|
|
|
|
ObjDumper::~ObjDumper() {
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace llvm
|