1 //===--- yaml2obj.h - -------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 /// \brief Common declarations for yaml2obj
11 //===----------------------------------------------------------------------===//
12 #ifndef LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
13 #define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
32 struct YamlObjectFile;
36 int yaml2coff(llvm::COFFYAML::Object &Doc, llvm::raw_ostream &Out);
37 int yaml2elf(llvm::ELFYAML::Object &Doc, llvm::raw_ostream &Out);
38 int yaml2macho(llvm::yaml::YamlObjectFile &Doc, llvm::raw_ostream &Out);
39 int yaml2wasm(llvm::WasmYAML::Object &Doc, llvm::raw_ostream &Out);