diff options
Diffstat (limited to 'tools/yaml2obj/yaml2obj.h')
-rw-r--r-- | tools/yaml2obj/yaml2obj.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/yaml2obj/yaml2obj.h b/tools/yaml2obj/yaml2obj.h new file mode 100644 index 0000000..095435c --- /dev/null +++ b/tools/yaml2obj/yaml2obj.h @@ -0,0 +1,22 @@ +//===--- yaml2obj.h - -------------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +/// \file +/// \brief Common declarations for yaml2obj +//===----------------------------------------------------------------------===// +#ifndef LLVM_TOOLS_YAML2OBJ_H +#define LLVM_TOOLS_YAML2OBJ_H + +namespace llvm { + class raw_ostream; + class MemoryBuffer; +} +int yaml2coff(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf); +int yaml2elf(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf); + +#endif |