summaryrefslogtreecommitdiff
path: root/gnu/llvm/tools/yaml2obj/yaml2obj.h
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2016-09-03 22:47:03 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2016-09-03 22:47:03 +0000
commitc07c59953ad4d4f16e8c3a3e25692ad9657db3ea (patch)
treee5a516d9d25bf178ab50dad2aa60c32b8684d5ee /gnu/llvm/tools/yaml2obj/yaml2obj.h
parent62bc401a55deb1281a3a42cd4f08325a6839a171 (diff)
Use the space freed up by sparc and zaurus to import LLVM.
ok hackroom@
Diffstat (limited to 'gnu/llvm/tools/yaml2obj/yaml2obj.h')
-rw-r--r--gnu/llvm/tools/yaml2obj/yaml2obj.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/llvm/tools/yaml2obj/yaml2obj.h b/gnu/llvm/tools/yaml2obj/yaml2obj.h
new file mode 100644
index 00000000000..7290a9af2c6
--- /dev/null
+++ b/gnu/llvm/tools/yaml2obj/yaml2obj.h
@@ -0,0 +1,24 @@
+//===--- 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_YAML2OBJ_H
+#define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
+
+namespace llvm {
+class raw_ostream;
+namespace yaml {
+class Input;
+}
+}
+int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
+int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
+
+#endif