llvm-6502/lib/CodeGen/AsmPrinter
Chris Lattner 74bfe21b50 Now that we have everything nicely factored (e.g. asmprinter is not
doing global variable classification anymore) and hookized, sink almost
all target targets global variable emission code into AsmPrinter and out
of each target.

Some notes:

1. PIC16 does completely custom and crazy stuff, so it is not changed.
2. XCore has some custom handling for extra directives.  I'll look at it next.
3. This switches linux/ppc to use .globl instead of .global.  If .globl is
   actually wrong, let me know and I'll fix it.
4. This makes linux/ppc get a lot of random cases right which were obviously
   wrong before, it is probably now a bit healthier.
5. Blackfin will probably start getting .comm and other things that it didn't
   before.  If this is undesirable, it should explicitly opt out of these
   things by clearing the relevant fields of MCAsmInfo.

This leads to a nice diffstat:
 14 files changed, 127 insertions(+), 830 deletions(-)




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93858 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-19 05:38:33 +00:00
..
AsmPrinter.cpp Now that we have everything nicely factored (e.g. asmprinter is not 2010-01-19 05:38:33 +00:00
CMakeLists.txt Fix cmake builds. 2009-05-19 00:18:14 +00:00
DIE.cpp Switch some functions to take Twines, eliminate uses of StringExtras.h. 2010-01-17 07:46:39 +00:00
DIE.h Change DIEObjectLabel to take an MCSymbol instead of std::string. 2010-01-16 18:50:28 +00:00
DwarfDebug.cpp Revert accident check-in from r93165. 2010-01-19 01:26:02 +00:00
DwarfDebug.h Change DIEObjectLabel to take an MCSymbol instead of std::string. 2010-01-16 18:50:28 +00:00
DwarfException.cpp - Add a comment to the callback indicating that it's *extremely* not a good 2010-01-18 19:36:27 +00:00
DwarfException.h rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase, 2010-01-16 18:37:32 +00:00
DwarfLabel.cpp convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfLabel.h convert the DIE printing stuff to use raw_ostream instead of std::ostream. 2009-08-23 01:01:17 +00:00
DwarfPrinter.cpp now that MCSymbol::print doesn't use it's MAI argument, we can 2010-01-17 21:43:43 +00:00
DwarfPrinter.h Change DIEObjectLabel to take an MCSymbol instead of std::string. 2010-01-16 18:50:28 +00:00
DwarfWriter.cpp Cosmetic changes, which were long overdue, in DwarfDebug.cpp. 2009-11-21 02:48:08 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
OcamlGCPrinter.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00