aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmInfoELF.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/MC/MCAsmInfoELF.h')
-rw-r--r--include/llvm/MC/MCAsmInfoELF.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmInfoELF.h b/include/llvm/MC/MCAsmInfoELF.h
index 7125f5c7ad7a..f8bb943aac4e 100644
--- a/include/llvm/MC/MCAsmInfoELF.h
+++ b/include/llvm/MC/MCAsmInfoELF.h
@@ -18,6 +18,10 @@ class MCAsmInfoELF : public MCAsmInfo {
MCSection *getNonexecutableStackSection(MCContext &Ctx) const final;
protected:
+ /// Targets which have non-executable stacks by default can set this to false
+ /// to disable the special section which requests a non-executable stack.
+ bool UsesNonexecutableStackSection;
+
MCAsmInfoELF();
};
}