2006-09-07 22:05:02 +00:00
|
|
|
//=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declaration of the SparcTargetAsmInfo class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef SPARCTARGETASMINFO_H
|
|
|
|
#define SPARCTARGETASMINFO_H
|
|
|
|
|
|
|
|
#include "llvm/Target/TargetAsmInfo.h"
|
2008-08-07 09:51:25 +00:00
|
|
|
#include "llvm/Target/ELFTargetAsmInfo.h"
|
2006-09-07 22:05:02 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
// Forward declaration.
|
2008-08-07 09:51:25 +00:00
|
|
|
class TargetMachine;
|
2006-09-07 22:05:02 +00:00
|
|
|
|
2008-08-07 09:51:25 +00:00
|
|
|
struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo {
|
|
|
|
explicit SparcELFTargetAsmInfo(const TargetMachine &TM);
|
2006-09-07 22:05:02 +00:00
|
|
|
|
2008-08-16 12:57:07 +00:00
|
|
|
std::string printSectionFlags(unsigned flags) const;
|
2008-08-07 09:51:25 +00:00
|
|
|
};
|
2006-09-07 22:05:02 +00:00
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|