llvm/lib/CodeGen/AsmPrinter
Chris Lattner f0144127b9 Rip all of the global variable lowering logic out of TargetAsmInfo. Since
it is highly specific to the object file that will be generated in the end,
this introduces a new TargetLoweringObjectFile interface that is implemented
for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.

Though still is still a brutal and ugly refactoring, this is a major step
towards goodness.

This patch also:
1. fixes a bunch of dangling pointer problems in the PIC16 backend.
2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
3. gets us closer to xcore having its own crazy target section flags and
   pic16 not having to shadow sections with its own objects.
4. fixes wierdness where ELF targets would set CStringSection but not
   CStringSection_.  Factor the code better.
5. fixes some bugs in string lowering on ELF targets.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77294 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-28 03:13:23 +00:00
..
AsmPrinter.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
CMakeLists.txt Fix cmake builds. 2009-05-19 00:18:14 +00:00
DIE.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
DIE.h Down with _even more_ statics! 2009-06-24 23:13:56 +00:00
DwarfDebug.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
DwarfDebug.h revert rev. 75503 for now. 2009-07-13 21:26:33 +00:00
DwarfException.cpp implement a new magic global "llvm.compiler.used" which is like llvm.used, but 2009-07-20 06:14:25 +00:00
DwarfException.h fix include guard. 2009-07-17 20:32:07 +00:00
DwarfLabel.cpp Split out the Dwarf writer stuff into separate files. This is a much more 2009-05-15 00:11:17 +00:00
DwarfLabel.h Split out the DwarfDebug module from the DwarfWriter module. 2009-05-15 09:23:25 +00:00
DwarfPrinter.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
DwarfPrinter.h Split out the DwarfDebug module from the DwarfWriter module. 2009-05-15 09:23:25 +00:00
DwarfWriter.cpp Simplify. 2009-06-25 22:36:02 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
OcamlGCPrinter.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00