remove some exclusions that don't exist anymore.
[oota-llvm.git] / include / llvm / Target / TargetELFWriterInfo.h
1 //===-- llvm/Target/TargetELFWriterInfo.h - ELF Writer Info -----*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the TargetELFWriterInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_TARGET_TARGETELFWRITERINFO_H
15 #define LLVM_TARGET_TARGETELFWRITERINFO_H
16
17 namespace llvm {
18
19   //===--------------------------------------------------------------------===//
20   //                          TargetELFWriterInfo
21   //===--------------------------------------------------------------------===//
22
23   class TargetELFWriterInfo {
24     // EMachine - This field is the target specific value to emit as the
25     // e_machine member of the ELF header.
26     unsigned short EMachine;
27   public:
28     enum MachineType {
29       NoMachine,
30       EM_386 = 3
31     };
32
33     explicit TargetELFWriterInfo(MachineType machine) : EMachine(machine) {}
34     virtual ~TargetELFWriterInfo() {}
35
36     unsigned short getEMachine() const { return EMachine; }
37   };
38
39 } // end llvm namespace
40
41 #endif // LLVM_TARGET_TARGETELFWRITERINFO_H