Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 1 | -1/+1 |
| | | | | | | and fixes here and there. llvm-svn: 123170 | ||||
* | Fix PR8878. | Rafael Espindola | 2011-01-01 | 1 | -0/+1 |
| | | | | llvm-svn: 122658 | ||||
* | Make a bunch of symbols internal. | Benjamin Kramer | 2010-12-30 | 1 | -18/+17 |
| | | | | llvm-svn: 122642 | ||||
* | MC/Mach-O/Thumb: Set the thumb bit in the symbol table. | Daniel Dunbar | 2010-12-29 | 1 | -2/+6 |
| | | | | llvm-svn: 122630 | ||||
* | Correctly encode pcrel|indirect. | Rafael Espindola | 2010-12-29 | 2 | -5/+3 |
| | | | | llvm-svn: 122624 | ||||
* | Remove second return. | Rafael Espindola | 2010-12-29 | 1 | -1/+0 |
| | | | | llvm-svn: 122616 | ||||
* | Fix bug when trying to output uint16_t or uint32_t. | Rafael Espindola | 2010-12-29 | 1 | -2/+9 |
| | | | | llvm-svn: 122615 | ||||
* | Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. Looks | Rafael Espindola | 2010-12-29 | 3 | -14/+59 |
| | | | | | | like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614 | ||||
* | Implement cfi_def_cfa_register. | Rafael Espindola | 2010-12-29 | 1 | -0/+8 |
| | | | | llvm-svn: 122612 | ||||
* | Initial .cfi_offset implementation. | Rafael Espindola | 2010-12-29 | 1 | -0/+7 |
| | | | | llvm-svn: 122611 | ||||
* | Don't produce a "DW_CFA_advance_loc 0". | Rafael Espindola | 2010-12-28 | 1 | -1/+2 |
| | | | | llvm-svn: 122609 | ||||
* | Implement .cfi_remember_state and .cfi_restore_state. | Rafael Espindola | 2010-12-28 | 3 | -44/+111 |
| | | | | llvm-svn: 122602 | ||||
* | Cast away "comparison between signed and unsigned integer" warnings. | Benjamin Kramer | 2010-12-28 | 1 | -1/+1 |
| | | | | llvm-svn: 122598 | ||||
* | Fix warning about size potentially being used uninitialized | Duncan Sands | 2010-12-28 | 1 | -1/+0 |
| | | | | | | when doing a release build. llvm-svn: 122594 | ||||
* | Relax address updates in the eh_frame section. | Rafael Espindola | 2010-12-28 | 3 | -22/+101 |
| | | | | llvm-svn: 122591 | ||||
* | Start adding basic support for emitting the call frame instructions. | Rafael Espindola | 2010-12-28 | 2 | -2/+13 |
| | | | | llvm-svn: 122590 | ||||
* | Add support for .cfi_lsda. | Rafael Espindola | 2010-12-27 | 4 | -52/+122 |
| | | | | llvm-svn: 122584 | ||||
* | MC/Mach-O/Thumb: Select appropriate relocation types for Thumb. | Daniel Dunbar | 2010-12-27 | 1 | -9/+11 |
| | | | | llvm-svn: 122583 | ||||
* | Handle reloc_riprel_4byte_movq_load. Should make the bots happy. | Rafael Espindola | 2010-12-27 | 1 | -0/+1 |
| | | | | llvm-svn: 122579 | ||||
* | Add support for the same encodings of the personality function that gnu as | Rafael Espindola | 2010-12-27 | 6 | -31/+88 |
| | | | | | | supports. llvm-svn: 122577 | ||||
* | Fix .cfi_personality on 32 bit systems. | Rafael Espindola | 2010-12-26 | 1 | -1/+1 |
| | | | | llvm-svn: 122570 | ||||
* | Add support for @note. Patch by Jörg Sonnenberger. | Rafael Espindola | 2010-12-26 | 3 | -0/+5 |
| | | | | llvm-svn: 122568 | ||||
* | Add basic support for .cfi_personality. | Rafael Espindola | 2010-12-26 | 3 | -10/+50 |
| | | | | llvm-svn: 122566 | ||||
* | Generalize a previous change, fixing PR8855 - an valid large immediate | Chris Lattner | 2010-12-25 | 1 | -6/+6 |
| | | | | | | rejected by the mc assembler. llvm-svn: 122557 | ||||
* | Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We now | Rafael Espindola | 2010-12-24 | 5 | -213/+99 |
| | | | | | | have a single point where targets test if a relocation is needed. llvm-svn: 122549 | ||||
* | MC/Mach-O/ARM: Start handling some Thumb branches. | Daniel Dunbar | 2010-12-24 | 1 | -0/+14 |
| | | | | llvm-svn: 122547 | ||||
* | In llvm-mc parse a Hash token as a full line comment. Allows handling of | Kevin Enderby | 2010-12-24 | 1 | -2/+7 |
| | | | | | | | preprocessed .s files and matches darwin gas. rdar://8798690 Also fix a comment on the next line of AsmParser.cpp after this new code. llvm-svn: 122531 | ||||
* | Add r122359 back now that the bug in MCDwarfLineAddrFragment fragment has been | Rafael Espindola | 2010-12-22 | 1 | -19/+5 |
| | | | | | | fixed. llvm-svn: 122448 | ||||
* | Assert that the AddrDelta expression is really constant and wrap it in a set | Rafael Espindola | 2010-12-22 | 2 | -2/+10 |
| | | | | | | if we have a lame assembler. llvm-svn: 122446 | ||||
* | Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much | Rafael Espindola | 2010-12-22 | 3 | -3/+5 |
| | | | | | | better name and matches what is used in the MachO writer. llvm-svn: 122443 | ||||
* | MC/Mach-O/ARM: Don't try to use scattered relocs for BR24 fixups. | Daniel Dunbar | 2010-12-22 | 1 | -1/+1 |
| | | | | llvm-svn: 122441 | ||||
* | Revert r122359 while I debug PR8845. | Rafael Espindola | 2010-12-22 | 1 | -5/+19 |
| | | | | llvm-svn: 122427 | ||||
* | Fix another conditional expression mismatched enum type warning. | Matt Beaumont-Gay | 2010-12-22 | 1 | -1/+2 |
| | | | | llvm-svn: 122419 | ||||
* | MC/Mach-O/ARM: We always use the SECTDIFF reloc type on ARM, which is | Daniel Dunbar | 2010-12-22 | 1 | -6/+1 |
| | | | | | | esp. important given that the LOCAL_SECTDIFF enumeration got redefined. llvm-svn: 122412 | ||||
* | MC/Mach-O/ARM: Clone off an ARM version of RecordScatteredRelocation until I ↵ | Daniel Dunbar | 2010-12-22 | 1 | -4/+68 |
| | | | | | | figure out how it is supposed to work. llvm-svn: 122410 | ||||
* | MC/Mach-O: Return to reporting errors if we see unexpected fixup kinds. | Daniel Dunbar | 2010-12-22 | 1 | -6/+3 |
| | | | | llvm-svn: 122409 | ||||
* | MC/Mach-O/ARM: Recognize generic _Data_N fixup kinds. | Daniel Dunbar | 2010-12-22 | 1 | -0/+16 |
| | | | | llvm-svn: 122408 | ||||
* | MC/Mach-O/ARM: Add enough relocation logic to get BR24 relocations. | Daniel Dunbar | 2010-12-22 | 1 | -3/+26 |
| | | | | llvm-svn: 122407 | ||||
* | MC/Mach-O/ARM: Fix thinko. | Daniel Dunbar | 2010-12-22 | 1 | -1/+1 |
| | | | | llvm-svn: 122406 | ||||
* | Use references and simplify. | Rafael Espindola | 2010-12-22 | 2 | -7/+4 |
| | | | | llvm-svn: 122405 | ||||
* | Simplify the handling of .size expressions. | Rafael Espindola | 2010-12-22 | 1 | -17/+6 |
| | | | | llvm-svn: 122404 | ||||
* | MC/Mach-O/ARM: Stub out RecordARMRelocation, which is mostly a copy of | Daniel Dunbar | 2010-12-22 | 1 | -1/+78 |
| | | | | | | RecordRelocation with lots of FIXMEs. llvm-svn: 122402 | ||||
* | Simplify. | Daniel Dunbar | 2010-12-22 | 1 | -6/+5 |
| | | | | llvm-svn: 122401 | ||||
* | MC/Mach-O: Split out RecordARMRelocation for now, it is weird enough it isn't | Daniel Dunbar | 2010-12-22 | 1 | -0/+15 |
| | | | | | | | clear how to keep in the generic path (yet). - Will revisit when it actually works. llvm-svn: 122400 | ||||
* | GCC objects to the two sides of a conditional expression having different enum | Matt Beaumont-Gay | 2010-12-21 | 1 | -2/+2 |
| | | | | | | | types, but they're just getting converted to unsigned anyway, so cast first (and ask questions later). llvm-svn: 122377 | ||||
* | Simplify EvaluateAsAbsolute now that EvaluateAsRelocatableImpl does all | Rafael Espindola | 2010-12-21 | 1 | -19/+5 |
| | | | | | | the folding it can. llvm-svn: 122359 | ||||
* | Don't relax org or align. They change size as the relaxation happens, but they | Rafael Espindola | 2010-12-21 | 1 | -42/+27 |
| | | | | | | | are not actually relaxed. For example, a section with only alignments will never needs relaxation. llvm-svn: 122356 | ||||
* | MC/Mach-O: Shuffle enums a bit to make it harder to inadvertently use the wrong | Daniel Dunbar | 2010-12-21 | 1 | -7/+8 |
| | | | | | | type. llvm-svn: 122334 | ||||
* | Layout one section until no relaxations are done and then move to the next | Rafael Espindola | 2010-12-21 | 1 | -34/+41 |
| | | | | | | | | | | section. This helps because in practice sections form a dag with debug sections pointing to text sections. Finishing up the text sections first makes the debug section relaxation trivial. llvm-svn: 122314 | ||||
* | Set the value of absolute symbols. | Roman Divacky | 2010-12-20 | 1 | -0/+9 |
| | | | | llvm-svn: 122268 |