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
25 namespace MinidumpYAML
{
35 struct YamlObjectFile
;
39 int yaml2coff(llvm::COFFYAML::Object
&Doc
, llvm::raw_ostream
&Out
);
40 int yaml2elf(llvm::ELFYAML::Object
&Doc
, llvm::raw_ostream
&Out
);
41 int yaml2macho(llvm::yaml::YamlObjectFile
&Doc
, llvm::raw_ostream
&Out
);
42 int yaml2minidump(llvm::MinidumpYAML::Object
&Doc
, llvm::raw_ostream
&Out
);
43 int yaml2wasm(llvm::WasmYAML::Object
&Doc
, llvm::raw_ostream
&Out
);