[llvm-commits] CVS: llvm/lib/Target/X86/X86ELFWriterInfo.cpp X86ELFWriterInfo.h
Bill Wendling
isanbard at gmail.com
Fri Jan 26 18:54:45 PST 2007
Changes in directory llvm/lib/Target/X86:
X86ELFWriterInfo.cpp added (r1.1)
X86ELFWriterInfo.h added (r1.1)
---
Log message:
X86 implementation of the TargetELFWriterInfo class.
---
Diffs of the changes: (+46 -0)
X86ELFWriterInfo.cpp | 17 +++++++++++++++++
X86ELFWriterInfo.h | 29 +++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
Index: llvm/lib/Target/X86/X86ELFWriterInfo.cpp
diff -c /dev/null llvm/lib/Target/X86/X86ELFWriterInfo.cpp:1.1
*** /dev/null Fri Jan 26 20:54:40 2007
--- llvm/lib/Target/X86/X86ELFWriterInfo.cpp Fri Jan 26 20:54:30 2007
***************
*** 0 ****
--- 1,17 ----
+ //===-- X86ELFWriterInfo.cpp - ELF Writer Info for the X86 backend --------===//
+ //
+ // The LLVM Compiler Infrastructure
+ //
+ // This file was developed by Bill Wendling and is distributed under the
+ // University of Illinois Open Source License. See LICENSE.TXT for details.
+ //
+ //===----------------------------------------------------------------------===//
+ //
+ // This file implements ELF writer information for the X86 backend.
+ //
+ //===----------------------------------------------------------------------===//
+
+ #include "X86ELFWriterInfo.h"
+ using namespace llvm;
+
+ X86ELFWriterInfo::X86ELFWriterInfo() : TargetELFWriterInfo(EM_386) {}
Index: llvm/lib/Target/X86/X86ELFWriterInfo.h
diff -c /dev/null llvm/lib/Target/X86/X86ELFWriterInfo.h:1.1
*** /dev/null Fri Jan 26 20:54:45 2007
--- llvm/lib/Target/X86/X86ELFWriterInfo.h Fri Jan 26 20:54:30 2007
***************
*** 0 ****
--- 1,29 ----
+ //===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===//
+ //
+ // The LLVM Compiler Infrastructure
+ //
+ // This file was developed by Bill Wendling and is distributed under the
+ // University of Illinois Open Source License. See LICENSE.TXT for details.
+ //
+ //===----------------------------------------------------------------------===//
+ //
+ // This file implements ELF writer information for the X86 backend.
+ //
+ //===----------------------------------------------------------------------===//
+
+ #ifndef X86_ELF_WRITER_INFO_H
+ #define X86_ELF_WRITER_INFO_H
+
+ #include "llvm/Target/TargetELFWriterInfo.h"
+
+ namespace llvm {
+
+ class X86ELFWriterInfo : public TargetELFWriterInfo {
+ public:
+ X86ELFWriterInfo();
+ virtual ~X86ELFWriterInfo() {}
+ };
+
+ } // end llvm namespace
+
+ #endif // X86_ELF_WRITER_INFO_H
More information about the llvm-commits
mailing list