llvm-project/llvm/lib
Chris Lattner 5e693ed07b 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.

llvm-svn: 77294
2009-07-28 03:13:23 +00:00
..
Analysis Teach instcombine to respect and preserve inbounds. Add inbounds 2009-07-28 01:40:03 +00:00
Archive Fix some non-sensical code. 2009-07-13 05:29:34 +00:00
AsmParser Move ConstantStruct back to 2.5 API. 2009-07-27 22:29:26 +00:00
Bitcode Move ConstantStruct back to 2.5 API. 2009-07-27 22:29:26 +00:00
CodeGen Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine Move ConstantFP construction back to the 2.5-ish API. 2009-07-27 20:59:43 +00:00
Linker Move ConstantStruct back to 2.5 API. 2009-07-27 22:29:26 +00:00
MC llvm-mc: Implement .abort fully in the front end 2009-07-27 23:20:52 +00:00
Support Make raw_null_ostream flush its buffer in its destructor, so that 2009-07-27 21:46:02 +00:00
System CMake: make sure that the *.inc files for libSystem show up in the resulting 2009-07-27 17:55:55 +00:00
Target Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
Transforms Teach instcombine to respect and preserve inbounds. Add inbounds 2009-07-28 01:40:03 +00:00
VMCore Move ConstantStruct back to 2.5 API. 2009-07-27 22:29:26 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00