2013-06-06 03:56:47 +08:00
|
|
|
//===--- yaml2obj.h - -------------------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/// \file
|
|
|
|
/// \brief Common declarations for yaml2obj
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TOOLS_YAML2OBJ_H
|
|
|
|
#define LLVM_TOOLS_YAML2OBJ_H
|
|
|
|
|
|
|
|
namespace llvm {
|
2014-05-31 12:51:07 +08:00
|
|
|
class raw_ostream;
|
|
|
|
namespace yaml {
|
|
|
|
class Input;
|
2013-06-06 03:56:47 +08:00
|
|
|
}
|
2014-05-31 12:51:07 +08:00
|
|
|
}
|
|
|
|
int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
|
|
|
|
int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
|
2013-06-06 03:56:47 +08:00
|
|
|
|
|
|
|
#endif
|