mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
5918b7a03d
Currently, only emitting the ELF header is supported (no sections or segments). The ELFYAML code organization is broadly similar to the COFFYAML code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183711 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
734 B
C++
23 lines
734 B
C++
//===--- 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
|