summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix .eh table linkage issues on Darwin. Some EH supportDale Johannesen2007-11-201-0/+2
| | | | | | for Darwin PPC, but it's not fully working yet. llvm-svn: 44258
* TargetAsmInfo::getAddressSize() was incorrect for x86-64 and 64-bit targetsDan Gohman2007-09-271-1/+0
| | | | | | | | other than PPC64. Instead of fixing it, just remove it and fix all the places that use it to use TargetData::getPointerSize() instead, as there aren't very many. Most of the references were in DwarfWriter.cpp. llvm-svn: 42419
* Merge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .fileDan Gohman2007-09-241-2/+1
| | | | | | aren't really usable without each other. llvm-svn: 42274
* Add a bool to indicate if we should set the "indirect encoding" bit in the DwarfBill Wendling2007-09-111-0/+1
| | | | | | information for EH. llvm-svn: 41852
* The personality function on Darwin needs a global stub. We then refer toBill Wendling2007-09-111-0/+2
| | | | | | that global stub instead of doing the ".set" thingy we were doing before. llvm-svn: 41838
* Eliminate some redundant newlines in asm output.Dan Gohman2007-06-141-2/+2
| | | | llvm-svn: 37574
* Emit sections/directives in the proper order. This fixes PR1376. Also,Anton Korobeynikov2007-05-051-0/+1
| | | | | | some small cleanup was made. llvm-svn: 36780
* Indent the .text, .data, and .bss directives in assembly output, so thatDan Gohman2007-05-031-3/+3
| | | | | | they are consistent with the other directives. llvm-svn: 36687
* Fix couple of bugs connected with eh info:Anton Korobeynikov2007-05-011-1/+2
| | | | | | | 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. llvm-svn: 36633
* Implement protected visibility. This partly implements PR1363. LinkerAnton Korobeynikov2007-04-291-0/+1
| | | | | | should be taught to deal with protected symbols. llvm-svn: 36565
* Fix generic getInlineAsmLengthDale Johannesen2007-04-231-4/+18
| | | | llvm-svn: 36369
* Implement "general dynamic", "initial exec" and "local exec" TLS models forLauro Ramos Venancio2007-04-201-0/+2
| | | | | | X86 32 bits. llvm-svn: 36283
* Add ReadOnlySection directive.Evan Cheng2007-03-081-0/+1
| | | | llvm-svn: 35015
* Fix DWARF debugging information on x86/Linux and (hopefully)Anton Korobeynikov2007-03-071-0/+3
| | | | | | Mingw32/Cygwin targets. This fixes PR978 llvm-svn: 35000
* Add TAI field for exception table section.Jim Laskey2007-02-211-0/+1
| | | | llvm-svn: 34477
* Support for non-landing pad exception handling.Jim Laskey2007-02-011-0/+2
| | | | llvm-svn: 33755
* Landing pad-less eh for PPC.Jim Laskey2007-01-291-0/+2
| | | | llvm-svn: 33622
* add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.Chris Lattner2007-01-181-0/+1
| | | | llvm-svn: 33314
* add new directiveChris Lattner2007-01-171-0/+1
| | | | llvm-svn: 33302
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-171-0/+1
| | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. llvm-svn: 33299
* Fix for PR1095:Bill Wendling2007-01-161-0/+1
| | | | | | | | LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to "0", the first variant of a compound inline asm expression. llvm-svn: 33246
* add a new HiddenDirective member for handling visibility.Chris Lattner2007-01-141-0/+1
| | | | llvm-svn: 33197
* Add weak reference directive.Evan Cheng2006-12-011-0/+1
| | | | llvm-svn: 32091
* Add per-target support for asm translation in the cbeAndrew Lenharth2006-11-281-1/+2
| | | | llvm-svn: 31972
* Add debug support for X86/ELF targets (Linux). This allows llvm-gcc4Reid Spencer2006-10-301-0/+1
| | | | | | | generated object modules to be debugged with gdb. Hopefully this helps pre-release debugging. llvm-svn: 31299
* Initialize CStringSection member var.Reid Spencer2006-10-271-0/+1
| | | | llvm-svn: 31214
* Expose method and ivars for measuring inline asm length properly.Chris Lattner2006-10-131-2/+18
| | | | llvm-svn: 30934
* Don't bother setting JumpTableTextSection, it is about to disappearChris Lattner2006-10-051-1/+0
| | | | llvm-svn: 30745
* Give TargetAsmInfo a virtual dtor, add a new getSectionForFunction method.Chris Lattner2006-10-051-0/+3
| | | | llvm-svn: 30732
* Add support for targets that want to do something with the llvm.used list,Chris Lattner2006-09-261-0/+1
| | | | | | because they have an aggressive linker that does dead code stripping. llvm-svn: 30604
* Add support for other relocation bases to jump tables, as well as custom asm ↵Andrew Lenharth2006-09-241-0/+1
| | | | | | directives llvm-svn: 30593
* Oops - forgot to update banner.Jim Laskey2006-09-061-1/+1
| | | | llvm-svn: 30131
* Separate target specifc asm properties from asm printers.Jim Laskey2006-09-061-0/+74
llvm-svn: 30127
OpenPOWER on IntegriCloud