blob: 949e11a19da353285d4d5e7f844c72c7c6ce0a8a [file] [log] [blame]
//===- Core/YamlWriter.h - Writes YAML formatted object files -------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLD_CORE_YAML_WRITER_H_
#define LLD_CORE_YAML_WRITER_H_
#include "lld/Core/LLVM.h"
#include "llvm/Support/raw_ostream.h"
namespace lld {
class Platform;
class File;
namespace yaml {
/// writeObjectText - writes the lld::File object as in YAML
/// format to the specified stream.
void writeObjectText(const lld::File &, Platform &, raw_ostream &);
} // namespace yaml
} // namespace lld
#endif // LLD_CORE_YAML_WRITER_H_