1 //=====-- XCoreTargetAsmInfo.h - XCore asm properties ---------*- C++ -*--====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declaration of the XCoreTargetAsmInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef XCORETARGETASMINFO_H
15 #define XCORETARGETASMINFO_H
17 #include "llvm/Target/ELFTargetAsmInfo.h"
21 // Forward declarations.
22 class XCoreTargetMachine;
25 class XCoreTargetAsmInfo : public ELFTargetAsmInfo {
27 const XCoreSubtarget *Subtarget;
29 explicit XCoreTargetAsmInfo(const XCoreTargetMachine &TM);
32 SectionFlagsForGlobal(const GlobalValue *GV = NULL,
33 const char* name = NULL) const;