summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/MC/MCAsmInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h
index fb69630ff52..1d90feb09b9 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -316,6 +316,8 @@ namespace llvm {
const char *getZeroFillDirective() const {
return ZeroFillDirective;
}
+ bool hasZeroFillDirective() const { return ZeroFillDirective != 0; }
+
const char *getNonexecutableStackDirective() const {
return NonexecutableStackDirective;
}
OpenPOWER on IntegriCloud