diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:48:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:48:20 +0000 |
commit | 7517b249caa793a9a01e4b6aff9c47fd88a153cc (patch) | |
tree | c47754566cceb82f78370f52b59afa1a438e8cf2 /lib/MC/MCAsmInfoDarwin.cpp | |
parent | 48d64ba9d846229339b2431b298620cb8a01ffc5 (diff) | |
download | external_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 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 5de86e0..a1f6051 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; |