blob: 1af5d80b550362f0375cc10842dfb55f18f6823d [file] [log] [blame]
Jim Laskey8e8de8f2006-09-07 22:05:02 +00001//=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Jim Laskey8e8de8f2006-09-07 22:05:02 +00007//
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"
Anton Korobeynikov5b794b92008-08-07 09:51:25 +000018#include "llvm/Target/ELFTargetAsmInfo.h"
Jim Laskey8e8de8f2006-09-07 22:05:02 +000019
20namespace llvm {
21
22 // Forward declaration.
Anton Korobeynikov5b794b92008-08-07 09:51:25 +000023 class TargetMachine;
Jim Laskey8e8de8f2006-09-07 22:05:02 +000024
Anton Korobeynikov5b794b92008-08-07 09:51:25 +000025 struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
26 explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
27
Anton Korobeynikovd0c1e292008-08-16 12:57:07 +000028 std::string printSectionFlags(unsigned flags) const;
Jim Laskey8e8de8f2006-09-07 22:05:02 +000029 };
30
Jim Laskey8e8de8f2006-09-07 22:05:02 +000031} // namespace llvm
32
33#endif