summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcTargetAsmInfo.h
blob: 943dcef95e5705e07520447fa44f43b3c5caac53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declaration of the SparcTargetAsmInfo class.
//
//===----------------------------------------------------------------------===//

#ifndef SPARCTARGETASMINFO_H
#define SPARCTARGETASMINFO_H

#include "llvm/Target/ELFTargetAsmInfo.h"

namespace llvm {

  // Forward declaration.
  class TargetMachine;

  struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
    explicit SparcELFTargetAsmInfo(const TargetMachine &TM);

    virtual void getSectionFlagsAsString(SectionKind Kind,
                                         SmallVectorImpl<char> &Str) const;

  };

} // namespace llvm

#endif