summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-02-08 01:30:50 +0000
committerBill Wendling <isanbard@gmail.com>2007-02-08 01:30:50 +0000
commit4b2ca1a3c4231cd05366565e91ce09ec9fc3d3c9 (patch)
tree2ab3eb2dd5586644d3d72fd89d4868a15d3b649c
parent23cbb1c78a6de399b318f68577469b0a566b0faa (diff)
downloadllvm-4b2ca1a3c4231cd05366565e91ce09ec9fc3d3c9.tar.gz
llvm-4b2ca1a3c4231cd05366565e91ce09ec9fc3d3c9.tar.bz2
llvm-4b2ca1a3c4231cd05366565e91ce09ec9fc3d3c9.tar.xz
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
-rw-r--r--lib/CodeGen/ELFWriter.h (renamed from include/llvm/CodeGen/ELFWriter.h)7
-rw-r--r--lib/CodeGen/MachOWriter.h (renamed from include/llvm/CodeGen/MachOWriter.h)8
2 files changed, 7 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/ELFWriter.h b/lib/CodeGen/ELFWriter.h
index 7eb5ca3fea..e64a9c946b 100644
--- a/include/llvm/CodeGen/ELFWriter.h
+++ b/lib/CodeGen/ELFWriter.h
@@ -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;
diff --git a/include/llvm/CodeGen/MachOWriter.h b/lib/CodeGen/MachOWriter.h
index bff94b4b2f..a26945874a 100644
--- a/include/llvm/CodeGen/MachOWriter.h
+++ b/lib/CodeGen/MachOWriter.h
@@ -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;