2007-01-27 02:54:30 +00:00
|
|
|
//===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-01-27 02:54:30 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// 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:
|
2009-06-11 19:16:03 +00:00
|
|
|
X86ELFWriterInfo(TargetMachine &TM);
|
2007-01-27 11:40:32 +00:00
|
|
|
virtual ~X86ELFWriterInfo();
|
2009-06-11 19:16:03 +00:00
|
|
|
|
|
|
|
virtual unsigned getFunctionAlignment(const Function *F) const;
|
2007-01-27 02:54:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // end llvm namespace
|
|
|
|
|
|
|
|
#endif // X86_ELF_WRITER_INFO_H
|