mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-20 02:58:10 +00:00
Moved from include/llvm/CodeGen to lib/CodeGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23cbb1c78a
commit
4b2ca1a3c4
@ -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;
|
@ -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;
|
Loading…
Reference in New Issue
Block a user