summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename isWeakForLinker to mayBeOverridden. Use itDuncan Sands2008-09-291-2/+2
| | | | | | | instead of hasWeakLinkage in a bunch of optimization passes. llvm-svn: 56782
* Reapply 56585:56589 with proper fix for some gcc versionsAnton Korobeynikov2008-09-251-90/+98
| | | | llvm-svn: 56621
* Temporarily backing out 56585:56589 to unbreak the build.Evan Cheng2008-09-251-98/+90
| | | | llvm-svn: 56607
* Use crazy template-based inheritance instead of virtual one.Anton Korobeynikov2008-09-241-90/+98
| | | | llvm-svn: 56585
* Get rid of ReadOnlySection duplicateAnton Korobeynikov2008-09-241-3/+2
| | | | llvm-svn: 56582
* Get rid of now unused {Four,Eight,Sixteen}ByteConstantSectionAnton Korobeynikov2008-09-241-6/+0
| | | | llvm-svn: 56580
* Get rid of duplicate char*/Section* stuff for TLS sectionsAnton Korobeynikov2008-09-241-4/+2
| | | | llvm-svn: 56577
* Get rid of duplicate char*/Section* DataSectionAnton Korobeynikov2008-09-241-5/+4
| | | | llvm-svn: 56575
* Get rid of duplicate char*/Section* TextSectionAnton Korobeynikov2008-09-241-4/+3
| | | | llvm-svn: 56574
* Move actual section printing stuff to AsmPrinter from TAI reducing heap traffic.Anton Korobeynikov2008-09-241-8/+2
| | | | llvm-svn: 56573
* Fix logic for not emitting no-dead-strip for someDale Johannesen2008-09-091-0/+1
| | | | | | | | | | objects in llvm.used (thanks Anton). Makes visible the magic 'l' prefix for symbols on Darwin which are to be passed through the assembler, then removed at linktime (previously all references to this had been hidden in the ObjC FE code, oh well). llvm-svn: 55973
* Add interface for section override. Use this for Sparc, since it should use ↵Anton Korobeynikov2008-08-161-4/+6
| | | | | | named BSS section. llvm-svn: 54844
* Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. ↵Anton Korobeynikov2008-08-161-0/+23
| | | | | | This makes JIT asmprinter-free. llvm-svn: 54843
* Reduce heap trashing due to std::string construction / concatenation via ↵Anton Korobeynikov2008-08-161-1/+14
| | | | | | caching of section flags string representations llvm-svn: 54842
* Undo most of r54519.Evan Cheng2008-08-081-4/+4
| | | | llvm-svn: 54534
* It's not legal to output a GV in a coalesced section if it's used in an ARM ↵Evan Cheng2008-08-081-4/+4
| | | | | | PIC relative constantpool. llvm-svn: 54519
* Provide convenient helpersAnton Korobeynikov2008-08-071-8/+2
| | | | llvm-svn: 54451
* Select section for constant pool entriesAnton Korobeynikov2008-08-071-0/+7
| | | | llvm-svn: 54448
* Provide default implementation of different small-sections related stuffAnton Korobeynikov2008-07-221-3/+21
| | | | llvm-svn: 53920
* Basic support for small sectionsBruno Cardoso Lopes2008-07-221-0/+3
| | | | llvm-svn: 53907
* TargetAsmInfo::SectionForGlobal showed up in a profile. Simplify it a little.Dan Gohman2008-07-151-5/+3
| | | | llvm-svn: 53639
* Use only 'subset' of flagsAnton Korobeynikov2008-07-091-11/+3
| | | | llvm-svn: 53323
* First sketch of special section objectsAnton Korobeynikov2008-07-091-22/+60
| | | | llvm-svn: 53320
* Use isWeakForLinker() hookAnton Korobeynikov2008-07-091-6/+2
| | | | llvm-svn: 53318
* Fix several bugs in named sections handlingAnton Korobeynikov2008-07-091-2/+2
| | | | llvm-svn: 53312
* Add hacky way to distinguish named and named sections. This will be ↵Anton Korobeynikov2008-07-091-41/+46
| | | | | | generalized in the future. llvm-svn: 53311
* Use 'gnu.linkonce', where neededAnton Korobeynikov2008-07-091-6/+9
| | | | llvm-svn: 53310
* Fix thinkoAnton Korobeynikov2008-07-091-4/+3
| | | | llvm-svn: 53309
* Provide section selection for X86 ELF targetsAnton Korobeynikov2008-07-091-0/+3
| | | | llvm-svn: 53305
* Provide general hook for section name calculationAnton Korobeynikov2008-07-091-4/+35
| | | | llvm-svn: 53304
* Properly handle linkonce stuffAnton Korobeynikov2008-07-091-0/+23
| | | | llvm-svn: 53296
* Provide skeletone code for calculation of section, where global should be ↵Anton Korobeynikov2008-07-091-1/+1
| | | | | | emitted into llvm-svn: 53295
* Use 'llvm-linkonce' consistentlyAnton Korobeynikov2008-07-091-3/+3
| | | | llvm-svn: 53294
* Add default section name resolution routineAnton Korobeynikov2008-07-091-0/+12
| | | | llvm-svn: 53292
* ConstifyAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53291
* Add code for default section falgs computationAnton Korobeynikov2008-07-091-0/+63
| | | | llvm-svn: 53290
* Linux also does not require exception handlingDuncan Sands2008-07-041-1/+0
| | | | | | | | | moves in order to get correct debug info. Since I can't imagine how any target could possibly be any different, I've just stripped out the option: now all the world's like Darwin! llvm-svn: 53134
* Darwin doesn't need exception handling information for the "move" info whenBill Wendling2008-07-011-0/+1
| | | | | | debug information is being output, because it's leet! llvm-svn: 52994
* Start refactoring of asmprinters: provide a TAI hook, which will select a ↵Anton Korobeynikov2008-06-281-0/+49
| | | | | | 'section kind' for a global. llvm-svn: 52868
* Add StringConstantPrefix to control what theDale Johannesen2008-06-031-0/+1
| | | | | | assembler names of string constants look like. llvm-svn: 51909
* Output correct exception handling and frame infoDuncan Sands2008-05-071-1/+0
| | | | | | | | | | | | | | | | | | on x86-64 linux. This causes no regressions on 32 bit linux and 32 bit ppc. More tests pass on 64 bit ppc with no regressions. I didn't turn on eh on 64 bit linux because the intrinsics needed to compile the eh runtime aren't done yet. But if you turn it on and link with the mainline runtime then eh seems to work fine on x86-64 linux with this patch. Thanks to Dale for testing. The main point of the patch is that if you output that some object is encoded using 4 bytes you had better not output 8 bytes for it: the patch makes everything consistent. llvm-svn: 50825
* Add AsmPrinter support for emitting a directive to declare thatDan Gohman2008-05-051-0/+1
| | | | | | | | | the code being generated does not require an executable stack. Also, add target-specific code to make use of this on Linux on x86. llvm-svn: 50634
* Use enumeration for preffered EH dwarf encoding reasonAnton Korobeynikov2008-02-291-1/+1
| | | | llvm-svn: 47770
* Initialize TextAlignFillValue. Fix revision 47703.Lauro Ramos Venancio2008-02-281-0/+1
| | | | llvm-svn: 47732
* Preparation step for some cleanup/generalization in EH information emission:Anton Korobeynikov2008-02-271-0/+6
| | | | | | provide TAI hook for selection of EH data emission format. Currently unused. llvm-svn: 47699
* Missed file from previous checkin.Dale Johannesen2008-01-151-0/+1
| | | | llvm-svn: 46030
* Emit unused EH frames for weak definitions on Darwin,Dale Johannesen2008-01-101-0/+1
| | | | | | | because assembler/linker can't cope with weak absolutes. PR 1880. llvm-svn: 45811
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Setting GlobalDirective in TargetAsmInfo by default rather thanGordon Henriksen2007-12-231-1/+1
| | | | | | | providing a misleading facility. It's used once in the MIPS backend and hardcoded as "\t.globl\t" everywhere else. llvm-svn: 45338
* Fix compiler warning.Dale Johannesen2007-11-211-1/+1
| | | | llvm-svn: 44261
OpenPOWER on IntegriCloud