blob: e9c5bc45cba31cf485d2b26f790cb98ca93cd259 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===-- X86ELFWriterInfo.h - ELF Writer Info for X86 ------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file implements ELF writer information for the X86 backend.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef X86_ELF_WRITER_INFO_H
15#define X86_ELF_WRITER_INFO_H
16
17#include "llvm/Target/TargetELFWriterInfo.h"
18
19namespace llvm {
20
21 class X86ELFWriterInfo : public TargetELFWriterInfo {
22 public:
Bruno Cardoso Lopes8c25df12009-06-11 19:16:03 +000023 X86ELFWriterInfo(TargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000024 virtual ~X86ELFWriterInfo();
Bruno Cardoso Lopes8c25df12009-06-11 19:16:03 +000025
26 virtual unsigned getFunctionAlignment(const Function *F) const;
Dan Gohmanf17a25c2007-07-18 16:29:46 +000027 };
28
29} // end llvm namespace
30
31#endif // X86_ELF_WRITER_INFO_H