1 //===--- yaml2obj.h - -------------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 /// Common declarations for yaml2obj
10 //===----------------------------------------------------------------------===//
11 #ifndef LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
12 #define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
31 struct YamlObjectFile
;
35 int yaml2coff(llvm::COFFYAML::Object
&Doc
, llvm::raw_ostream
&Out
);
36 int yaml2elf(llvm::ELFYAML::Object
&Doc
, llvm::raw_ostream
&Out
);
37 int yaml2macho(llvm::yaml::YamlObjectFile
&Doc
, llvm::raw_ostream
&Out
);
38 int yaml2wasm(llvm::WasmYAML::Object
&Doc
, llvm::raw_ostream
&Out
);