Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | //=====-- SparcTargetAsmInfo.h - Sparc asm properties ---------*- C++ -*--====// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 081ce94 | 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. |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +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 | db9a895 | 2008-08-07 09:51:25 +0000 | [diff] [blame^] | 18 | #include "llvm/Target/ELFTargetAsmInfo.h" |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 19 | |
| 20 | namespace llvm { |
| 21 | |
| 22 | // Forward declaration. |
Anton Korobeynikov | db9a895 | 2008-08-07 09:51:25 +0000 | [diff] [blame^] | 23 | class TargetMachine; |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 24 | |
Anton Korobeynikov | db9a895 | 2008-08-07 09:51:25 +0000 | [diff] [blame^] | 25 | struct SparcELFTargetAsmInfo : public ELFTargetAsmInfo { |
| 26 | explicit SparcELFTargetAsmInfo(const TargetMachine &TM); |
| 27 | |
| 28 | std::string PrintSectionFlags(unsigned flags) const; |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 29 | }; |
| 30 | |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 31 | } // namespace llvm |
| 32 | |
| 33 | #endif |