Moved from include/llvm/CodeGen to lib/CodeGen.

llvm-svn: 34027
This commit is contained in:
Bill Wendling 2007-02-08 01:30:50 +00:00
parent 0690d442ab
commit 860ce1b82e
2 changed files with 7 additions and 8 deletions

View File

@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_ELFWRITER_H
#define LLVM_CODEGEN_ELFWRITER_H
#ifndef ELFWRITER_H
#define ELFWRITER_H
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <list>
@ -34,13 +34,12 @@ namespace llvm {
return *(MachineCodeEmitter*)MCE;
}
ELFWriter(std::ostream &O, TargetMachine &TM);
~ELFWriter();
typedef std::vector<unsigned char> DataBuffer;
protected:
ELFWriter(std::ostream &O, TargetMachine &TM);
/// Output stream to send the resultant object file to.
///
std::ostream &O;

View File

@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_MACHOWRITER_H
#define LLVM_CODEGEN_MACHOWRITER_H
#ifndef MACHOWRITER_H
#define MACHOWRITER_H
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
@ -87,6 +87,8 @@ namespace llvm {
MachineCodeEmitter &getMachineCodeEmitter() const {
return *(MachineCodeEmitter*)MCE;
}
MachOWriter(std::ostream &O, TargetMachine &TM);
virtual ~MachOWriter();
virtual const char *getPassName() const {
@ -95,8 +97,6 @@ namespace llvm {
typedef std::vector<unsigned char> DataBuffer;
protected:
MachOWriter(std::ostream &O, TargetMachine &TM);
/// Output stream to send the resultant object file to.
///
std::ostream &O;