[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.h
Bill Wendling
isanbard at gmail.com
Fri Jan 26 18:56:32 PST 2007
Changes in directory llvm/lib/Target/X86:
X86TargetMachine.h updated: 1.43 -> 1.44
---
Log message:
Return an X86ELFWriterInfo object.
---
Diffs of the changes: (+6 -1)
X86TargetMachine.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86TargetMachine.h
diff -u llvm/lib/Target/X86/X86TargetMachine.h:1.43 llvm/lib/Target/X86/X86TargetMachine.h:1.44
--- llvm/lib/Target/X86/X86TargetMachine.h:1.43 Wed Jan 17 03:06:13 2007
+++ llvm/lib/Target/X86/X86TargetMachine.h Fri Jan 26 20:56:16 2007
@@ -18,6 +18,7 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "X86.h"
+#include "X86ELFWriterInfo.h"
#include "X86InstrInfo.h"
#include "X86JITInfo.h"
#include "X86Subtarget.h"
@@ -27,11 +28,12 @@
class X86TargetMachine : public LLVMTargetMachine {
X86Subtarget Subtarget;
- const TargetData DataLayout; // Calculates type size & alignment
+ const TargetData DataLayout; // Calculates type size & alignment
TargetFrameInfo FrameInfo;
X86InstrInfo InstrInfo;
X86JITInfo JITInfo;
X86TargetLowering TLInfo;
+ X86ELFWriterInfo ELFWriterInfo;
protected:
virtual const TargetAsmInfo *createTargetAsmInfo() const;
@@ -50,6 +52,9 @@
return &InstrInfo.getRegisterInfo();
}
virtual const TargetData *getTargetData() const { return &DataLayout; }
+ virtual const X86ELFWriterInfo *getELFWriterInfo() const {
+ return &ELFWriterInfo;
+ }
static unsigned getModuleMatchQuality(const Module &M);
static unsigned getJITMatchQuality();
More information about the llvm-commits
mailing list