Enable linking tools, shared libraries against libLLVM
[oota-llvm.git] / tools / yaml2obj / yaml2obj.h
1 //===--- yaml2obj.h - -------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 /// \file
10 /// \brief Common declarations for yaml2obj
11 //===----------------------------------------------------------------------===//
12 #ifndef LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
13 #define LLVM_TOOLS_YAML2OBJ_YAML2OBJ_H
14
15 namespace llvm {
16 class raw_ostream;
17 namespace yaml {
18 class Input;
19 }
20 }
21 int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
22 int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
23
24 #endif