summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 07:21:06 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 07:21:06 +0000
commit76bdea32900ab533b0c059ec8b71fff59c919632 (patch)
tree2251dacb7d096950344e3ac66269bf2b071110dd /llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h
parente244ff35d851cbb3386e13274b80f3f01ebe2c45 (diff)
downloadbcm5719-llvm-76bdea32900ab533b0c059ec8b71fff59c919632.tar.gz
bcm5719-llvm-76bdea32900ab533b0c059ec8b71fff59c919632.zip
resolve a fixme: the "nonexecutable stack directive" is actually
a .section. Switch to it with SwitchSection. However, I think that this directive should be safe on any ELF target. If so, we should hoist it up out of the X86 and SystemZ targets. llvm-svn: 94298
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h b/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h
index 3bebcb74e37..00cb99b34c0 100644
--- a/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h
+++ b/llvm/lib/Target/SystemZ/SystemZMCAsmInfo.h
@@ -22,8 +22,9 @@ namespace llvm {
struct SystemZMCAsmInfo : public MCAsmInfo {
explicit SystemZMCAsmInfo(const Target &T, const StringRef &TT);
+ virtual MCSection *getNonexecutableStackSection(MCContext &Ctx) const;
};
-
+
} // namespace llvm
#endif
OpenPOWER on IntegriCloud