Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison include/llvm/MC/MCAsmInfoELF.h @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 7d135dc70f03 |
children |
comparison
equal
deleted
inserted
replaced
120:1172e4bd9c6f | 121:803732b1fca8 |
---|---|
1 //===-- llvm/MC/MCAsmInfoELF.h - ELF Asm info -------------------*- C++ -*-===// | 1 //===- llvm/MC/MCAsmInfoELF.h - ELF Asm info --------------------*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
11 #define LLVM_MC_MCASMINFOELF_H | 11 #define LLVM_MC_MCASMINFOELF_H |
12 | 12 |
13 #include "llvm/MC/MCAsmInfo.h" | 13 #include "llvm/MC/MCAsmInfo.h" |
14 | 14 |
15 namespace llvm { | 15 namespace llvm { |
16 | |
16 class MCAsmInfoELF : public MCAsmInfo { | 17 class MCAsmInfoELF : public MCAsmInfo { |
17 virtual void anchor(); | 18 virtual void anchor(); |
18 MCSection *getNonexecutableStackSection(MCContext &Ctx) const final; | 19 MCSection *getNonexecutableStackSection(MCContext &Ctx) const final; |
19 | 20 |
20 protected: | 21 protected: |
21 /// Targets which have non-executable stacks by default can set this to false | 22 /// Targets which have non-executable stacks by default can set this to false |
22 /// to disable the special section which requests a non-executable stack. | 23 /// to disable the special section which requests a non-executable stack. |
23 bool UsesNonexecutableStackSection; | 24 bool UsesNonexecutableStackSection = true; |
24 | 25 |
25 MCAsmInfoELF(); | 26 MCAsmInfoELF(); |
26 }; | 27 }; |
27 } | |
28 | 28 |
29 #endif | 29 } // end namespace llvm |
30 | |
31 #endif // LLVM_MC_MCASMINFOELF_H |