aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 04:48:20 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 04:48:20 +0000
commit7517b249caa793a9a01e4b6aff9c47fd88a153cc (patch)
treec47754566cceb82f78370f52b59afa1a438e8cf2 /include
parent48d64ba9d846229339b2431b298620cb8a01ffc5 (diff)
downloadexternal_llvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.zip
external_llvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.tar.gz
external_llvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.tar.bz2
add a bool for whether .lcomm takes an alignment instead of basing this on "isdarwin".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAsmInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 1368e1f..a340a12 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -202,6 +202,10 @@ namespace llvm {
/// argument that specifies the alignment of the declaration.
bool COMMDirectiveTakesAlignment; // Defaults to true.
+ /// LCOMMDirectiveTakesAlignment - True if LCOMMDirective takes a third
+ /// argument that specifies the alignment of the declaration.
+ bool LCOMMDirectiveTakesAlignment; // Defaults to false.
+
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
/// directives, this is true for most ELF targets.
bool HasDotTypeDotSizeDirective; // Defaults to true.
@@ -410,6 +414,9 @@ namespace llvm {
bool getCOMMDirectiveTakesAlignment() const {
return COMMDirectiveTakesAlignment;
}
+ bool getLCOMMDirectiveTakesAlignment() const {
+ return LCOMMDirectiveTakesAlignment;
+ }
bool hasDotTypeDotSizeDirective() const {
return HasDotTypeDotSizeDirective;
}