Fix the xfail I added a couple of patches back. The issue
[oota-llvm.git] / include / llvm / Target / TargetAsmBackend.h
1 //===-- llvm/Target/TargetAsmBackend.h - Target Asm Backend -----*- 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 #ifndef LLVM_TARGET_TARGETASMBACKEND_H
11 #define LLVM_TARGET_TARGETASMBACKEND_H
12
13 namespace llvm {
14 class Target;
15
16 /// TargetAsmBackend - Generic interface to target specific assembler backends.
17 class TargetAsmBackend {
18   TargetAsmBackend(const TargetAsmBackend &);   // DO NOT IMPLEMENT
19   void operator=(const TargetAsmBackend &);  // DO NOT IMPLEMENT
20 protected: // Can only create subclasses.
21   TargetAsmBackend(const Target &);
22
23   /// TheTarget - The Target that this machine was created for.
24   const Target &TheTarget;
25
26 public:
27   virtual ~TargetAsmBackend();
28
29   const Target &getTarget() const { return TheTarget; }
30
31 };
32
33 } // End llvm namespace
34
35 #endif