You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
942 B
37 lines
942 B
7 months ago
|
//===--- 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_YAML2OBJ_H
|
||
|
#define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
|
||
|
|
||
|
namespace llvm {
|
||
|
class raw_ostream;
|
||
|
|
||
|
namespace COFFYAML {
|
||
|
struct Object;
|
||
|
}
|
||
|
|
||
|
namespace ELFYAML {
|
||
|
struct Object;
|
||
|
}
|
||
|
|
||
|
namespace yaml {
|
||
|
class Input;
|
||
|
struct YamlObjectFile;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
int yaml2coff(llvm::COFFYAML::Object &Doc, llvm::raw_ostream &Out);
|
||
|
int yaml2elf(llvm::ELFYAML::Object &Doc, llvm::raw_ostream &Out);
|
||
|
int yaml2macho(llvm::yaml::YamlObjectFile &Doc, llvm::raw_ostream &Out);
|
||
|
|
||
|
#endif
|