Cleanup handling of .zerofill on darwin:
authorChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 02:09:44 +0000 (02:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Jan 2010 02:09:44 +0000 (02:09 +0000)
commitaac138e84dee1cb3ffc1035b2a1e4361fe0b4f80
treef62498c8c571448790a13d39837f8691fd77e21f
parent60a17740b845565f664e81a91b7019a520af88d7
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
include/llvm/MC/MCAsmInfo.h
include/llvm/Target/TargetLoweringObjectFile.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
lib/Target/TargetLoweringObjectFile.cpp
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp