aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcTargetAsmInfo.h
blob: 77cf4e9f4d681536c4f3e549184086950201ea15 (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
35
//=====-- 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/TargetAsmInfo.h"
#include "llvm/Target/ELFTargetAsmInfo.h"

namespace llvm {

  // Forward declaration.
  class TargetMachine;

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

    virtual void getSectionFlags(unsigned Flags,
                                 SmallVectorImpl<char> &Str) const;

  };

} // namespace llvm

#endif