Simplify handling of --noexecstack by using getNonexecutableStackSection.
[oota-llvm.git] / include / llvm / MC / MCAssembler.h
index 37dafb02606b68c0863cf3a801db46cef560b883..b0a706de341b0de691905f2a9042b0ffcd7ca6be 100644 (file)
@@ -915,7 +915,6 @@ private:
   unsigned BundleAlignSize;
 
   unsigned RelaxAll : 1;
-  unsigned NoExecStack : 1;
   unsigned SubsectionsViaSymbols : 1;
 
   /// ELF specific e_header flags
@@ -1061,9 +1060,6 @@ public:
   bool getRelaxAll() const { return RelaxAll; }
   void setRelaxAll(bool Value) { RelaxAll = Value; }
 
-  bool getNoExecStack() const { return NoExecStack; }
-  void setNoExecStack(bool Value) { NoExecStack = Value; }
-
   bool isBundlingEnabled() const {
     return BundleAlignSize != 0;
   }