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