Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 1 | //====-- SystemZMCAsmInfo.h - SystemZ asm properties -----------*- C++ -*--===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef SystemZTARGETASMINFO_H |
| 11 | #define SystemZTARGETASMINFO_H |
| 12 | |
Rafael Espindola | 43c4e24 | 2013-10-16 01:34:32 +0000 | [diff] [blame^] | 13 | #include "llvm/MC/MCAsmInfoELF.h" |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 14 | #include "llvm/Support/Compiler.h" |
| 15 | |
| 16 | namespace llvm { |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 17 | class StringRef; |
| 18 | |
Rafael Espindola | 43c4e24 | 2013-10-16 01:34:32 +0000 | [diff] [blame^] | 19 | class SystemZMCAsmInfo : public MCAsmInfoELF { |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 20 | public: |
Rafael Espindola | 140a837 | 2013-05-10 18:16:59 +0000 | [diff] [blame] | 21 | explicit SystemZMCAsmInfo(StringRef TT); |
Ulrich Weigand | 5f613df | 2013-05-06 16:15:19 +0000 | [diff] [blame] | 22 | |
| 23 | // Override MCAsmInfo; |
| 24 | virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const |
| 25 | LLVM_OVERRIDE; |
| 26 | }; |
| 27 | |
| 28 | } // namespace llvm |
| 29 | |
| 30 | #endif |