remove the Xcore implementation of SelectSectionForGlobal. While you have
[oota-llvm.git] / lib / Target / XCore / XCoreTargetAsmInfo.h
1 //=====-- XCoreTargetAsmInfo.h - XCore asm properties ---------*- 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 contains the declaration of the XCoreTargetAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef XCORETARGETASMINFO_H
15 #define XCORETARGETASMINFO_H
16
17 #include "llvm/Target/ELFTargetAsmInfo.h"
18
19 namespace llvm {
20
21   // Forward declarations.
22   class XCoreTargetMachine;
23   class XCoreSubtarget;
24
25   class XCoreTargetAsmInfo : public ELFTargetAsmInfo {
26   private:
27     const XCoreSubtarget *Subtarget;
28   public:
29     explicit XCoreTargetAsmInfo(const XCoreTargetMachine &TM);
30     
31     virtual unsigned
32     SectionFlagsForGlobal(const GlobalValue *GV = NULL,
33                           const char* name = NULL) const;
34   };
35
36 } // namespace llvm
37
38 #endif