Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 1 | //=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 2007-12-29 20:36:04 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 7 | // |
| 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 Korobeynikov | 5b794b9 | 2008-08-07 09:51:25 +0000 | [diff] [blame] | 18 | #include "llvm/Target/ELFTargetAsmInfo.h" |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 19 | |
| 20 | namespace llvm { |
| 21 | |
| 22 | // Forward declaration. |
Anton Korobeynikov | 5b794b9 | 2008-08-07 09:51:25 +0000 | [diff] [blame] | 23 | class TargetMachine; |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 24 | |
Anton Korobeynikov | 5b794b9 | 2008-08-07 09:51:25 +0000 | [diff] [blame] | 25 | struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo { |
| 26 | explicit SparcELFTargetAsmInfo(const TargetMachine &TM); |
| 27 | |
Chris Lattner | f40761d | 2009-07-26 07:33:58 +0000 | [diff] [blame^] | 28 | virtual void getSectionFlags(unsigned Flags, |
| 29 | SmallVectorImpl<char> &Str) const; |
| 30 | |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 31 | }; |
| 32 | |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 33 | } // namespace llvm |
| 34 | |
| 35 | #endif |