yaml2obj.h 758 B

123456789101112131415161718192021222324
  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. namespace llvm {
  15. class raw_ostream;
  16. namespace yaml {
  17. class Input;
  18. }
  19. }
  20. int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
  21. int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
  22. #endif