Add dummy 'm' inline asm constraint handler for Sparc. I'm not sure, whether it is...
[oota-llvm.git] / lib / Target / Sparc / SparcTargetAsmInfo.h
1 //=====-- SparcTargetAsmInfo.h - Sparc 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 SparcTargetAsmInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef SPARCTARGETASMINFO_H
15 #define SPARCTARGETASMINFO_H
16
17 #include "llvm/Target/TargetAsmInfo.h"
18 #include "llvm/Target/ELFTargetAsmInfo.h"
19
20 namespace llvm {
21
22   // Forward declaration.
23   class TargetMachine;
24
25   struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
26     explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
27
28     std::string printSectionFlags(unsigned flags) const;
29   };
30
31 } // namespace llvm
32
33 #endif