summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 02:09:44 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 02:09:44 +0000
commitaac138e84dee1cb3ffc1035b2a1e4361fe0b4f80 (patch)
treef62498c8c571448790a13d39837f8691fd77e21f /lib/MC/MCAsmInfoDarwin.cpp
parent60a17740b845565f664e81a91b7019a520af88d7 (diff)
downloadllvm-aac138e84dee1cb3ffc1035b2a1e4361fe0b4f80.tar.gz
llvm-aac138e84dee1cb3ffc1035b2a1e4361fe0b4f80.tar.bz2
llvm-aac138e84dee1cb3ffc1035b2a1e4361fe0b4f80.tar.xz
Cleanup handling of .zerofill on darwin:
1. TargetLoweringObjectFileMachO should decide if something goes in zerofill instead of having every target do it. 2. TargetLoweringObjectFileMachO should assign said symbols to the right MCSection, the asmprinters should just emit to the right section. 3. Since all zerofill stuff goes through mcstreamer anymore, MAI can have a bool "haszerofill" instead of having the textual directive to emit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index d99120d4d7..8719bee89b 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -35,7 +35,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
HiddenDirective = "\t.private_extern ";
LCOMMDirective = "\t.lcomm\t";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
- ZeroFillDirective = "\t.zerofill\t"; // Uses .zerofill
+ HasMachoZeroFillDirective = true; // Uses .zerofill
SetDirective = "\t.set";
ProtectedDirective = "\t.globl\t";
HasDotTypeDotSizeDirective = false;