summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetLoweringObjectFile.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* pass the mangler down into the various SectionForGlobal methods.Chris Lattner2009-07-291-9/+11
| | | | | | No functionality change. llvm-svn: 77432
* constant prop a utostr.Chris Lattner2009-07-291-2/+1
| | | | llvm-svn: 77430
* remove some completely wrong code. 1 is never < 16. It turns out that GCC ↵Chris Lattner2009-07-291-20/+10
| | | | | | appears to put strings of any length into the ELF cstring equivalent, so just rip out the code. llvm-svn: 77429
* Fix PR4639, a ELF-TLS regression from some of my refactoring.Chris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77336
* the apple "ld_classic" linker doesn't support .literal16 in 32-bitChris Lattner2009-07-281-5/+12
| | | | | | | mode, and "ld64" (the default linker) falls back to it in -static mode. llvm-svn: 77334
* fix unused variable warningChris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77326
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-0/+647
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
OpenPOWER on IntegriCloud