summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/COFFTargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove TargetAsmInfo::TM, which is now dead. The basic TAI class now Chris Lattner2009-08-021-3/+1
| | | | | | no longer depends on TM! llvm-svn: 77863
* convert ctors/dtors section to be in TLOF instead ofChris Lattner2009-08-021-2/+0
| | | | | | TAI. llvm-svn: 77842
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-57/+0
| | | | | | | | | | | | | | | | | | | | 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
* Sink getSectionPrefixForUniqueGlobal down into the TAI Chris Lattner2009-07-271-9/+42
| | | | | | implementations that need it, rearrange ELFTAI. llvm-svn: 77236
* make COFF work like ELF and macho, by splitting out into its ownChris Lattner2009-07-271-0/+76
header even though there is only one COFF target. llvm-svn: 77204
OpenPOWER on IntegriCloud