summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoDarwin.cpp
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 /lib/MC/MCAsmInfoDarwin.cpp
parent48d64ba9d846229339b2431b298620cb8a01ffc5 (diff)
downloadllvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.tar.gz
llvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.tar.bz2
llvm-7517b249caa793a9a01e4b6aff9c47fd88a153cc.tar.xz
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 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index 5de86e0c90..a1f6051990 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -37,6 +37,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
HasStaticCtorDtorReferenceInStaticMode = true;
+ LCOMMDirectiveTakesAlignment = true;
SetDirective = "\t.set";
ProtectedDirective = "\t.globl\t";
HasDotTypeDotSizeDirective = false;