1 //===- yaml2minidump.cpp - Convert a YAML file to a minidump file ---------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include "llvm/ObjectYAML/MinidumpYAML.h"
10 #include "llvm/ObjectYAML/yaml2obj.h"
11 #include "llvm/Support/raw_ostream.h"
12 
13 using namespace llvm;
14 
15 namespace llvm {
16 namespace yaml {
17 
18 int yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out) {
19   writeAsBinary(Doc, Out);
20   return 0;
21 }
22 
23 } // namespace yaml
24 } // namespace llvm
25