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