LLVM  8.0.1
MCAsmInfoELF.h
Go to the documentation of this file.
1 //===- llvm/MC/MCAsmInfoELF.h - ELF Asm info --------------------*- 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 LLVM_MC_MCASMINFOELF_H
11 #define LLVM_MC_MCASMINFOELF_H
12 
13 #include "llvm/MC/MCAsmInfo.h"
14 
15 namespace llvm {
16 
17 class MCAsmInfoELF : public MCAsmInfo {
18  virtual void anchor();
19  MCSection *getNonexecutableStackSection(MCContext &Ctx) const final;
20 
21 protected:
22  /// Targets which have non-executable stacks by default can set this to false
23  /// to disable the special section which requests a non-executable stack.
25 
26  MCAsmInfoELF();
27 };
28 
29 } // end namespace llvm
30 
31 #endif // LLVM_MC_MCASMINFOELF_H
Instances of this class represent a uniqued identifier for a section in the current translation unit...
Definition: MCSection.h:39
This class represents lattice values for constants.
Definition: AllocatorList.h:24
bool UsesNonexecutableStackSection
Targets which have non-executable stacks by default can set this to false to disable the special sect...
Definition: MCAsmInfoELF.h:24
Context object for machine code objects.
Definition: MCContext.h:63
This class is intended to be used as a base class for asm properties and features specific to the tar...
Definition: MCAsmInfo.h:56