llvm-6502/lib
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
..
Analysis Make findDbgDeclare/findDbgGlobalDeclare local static functions; avoid Elts array 2010-01-18 20:42:09 +00:00
Archive Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
AsmParser Remove the InlineHint attribute. There are no current or planned 2010-01-15 21:36:30 +00:00
Bitcode Simplify code that chooses when to enumerate function-local metadata operands 2010-01-14 19:54:11 +00:00
CodeGen Now that we have everything nicely factored (e.g. asmprinter is not 2010-01-19 05:38:33 +00:00
CompilerDriver Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
ExecutionEngine Replace DebugLocTuple with DILocation. 2010-01-16 06:09:35 +00:00
Linker Fixed linking of modules containing aliases to constant bitcasts. Existing behaviour first tried to replace the aliases with the global that they aliased (rather than the bitcast), causing a crash on an assert because the types didn't match. When this was fixed, it then did the same thing creating the new alias (creating an alias with a different type to its aliasee). 2010-01-09 16:27:31 +00:00
MC hookize the cygwin ".linkonce" directive. 2010-01-19 05:08:13 +00:00
Support Fix refacto reported by Nicolas Geoffray. 2010-01-18 12:40:05 +00:00
System Remove spurious semicolon. 2010-01-14 20:19:51 +00:00
Target Now that we have everything nicely factored (e.g. asmprinter is not 2010-01-19 05:38:33 +00:00
Transforms Fix a crash in scalarrepl for memcpy/memmove where the source and destination 2010-01-19 04:32:48 +00:00
VMCore Add comment that MDNode::getFunction() is not to be used by performance-critical code (currently only used by AsmWriter) 2010-01-18 22:55:08 +00:00
Makefile remove llvm-db: it is completely broken and if anyone wants to do a debugger, 2009-10-05 02:29:51 +00:00