blob: 77cf4e9f4d681536c4f3e549184086950201ea15 [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
Chris Lattnerf40761d2009-07-26 07:33:58 +000028 virtual void getSectionFlags(unsigned Flags,
29 SmallVectorImpl<char> &Str) const;
30
Jim Laskey8e8de8f2006-09-07 22:05:02 +000031 };
32
Jim Laskey8e8de8f2006-09-07 22:05:02 +000033} // namespace llvm
34
35#endif