summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-101-1/+1
| | | | | | and fixes here and there. llvm-svn: 123170
* Fix PR8878.Rafael Espindola2011-01-011-0/+1
| | | | llvm-svn: 122658
* Make a bunch of symbols internal.Benjamin Kramer2010-12-301-18/+17
| | | | llvm-svn: 122642
* MC/Mach-O/Thumb: Set the thumb bit in the symbol table.Daniel Dunbar2010-12-291-2/+6
| | | | llvm-svn: 122630
* Correctly encode pcrel|indirect.Rafael Espindola2010-12-292-5/+3
| | | | llvm-svn: 122624
* Remove second return.Rafael Espindola2010-12-291-1/+0
| | | | llvm-svn: 122616
* Fix bug when trying to output uint16_t or uint32_t.Rafael Espindola2010-12-291-2/+9
| | | | llvm-svn: 122615
* Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. LooksRafael Espindola2010-12-293-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 Espindola2010-12-291-0/+8
| | | | llvm-svn: 122612
* Initial .cfi_offset implementation.Rafael Espindola2010-12-291-0/+7
| | | | llvm-svn: 122611
* Don't produce a "DW_CFA_advance_loc 0".Rafael Espindola2010-12-281-1/+2
| | | | llvm-svn: 122609
* Implement .cfi_remember_state and .cfi_restore_state.Rafael Espindola2010-12-283-44/+111
| | | | llvm-svn: 122602
* Cast away "comparison between signed and unsigned integer" warnings.Benjamin Kramer2010-12-281-1/+1
| | | | llvm-svn: 122598
* Fix warning about size potentially being used uninitializedDuncan Sands2010-12-281-1/+0
| | | | | | when doing a release build. llvm-svn: 122594
* Relax address updates in the eh_frame section.Rafael Espindola2010-12-283-22/+101
| | | | llvm-svn: 122591
* Start adding basic support for emitting the call frame instructions.Rafael Espindola2010-12-282-2/+13
| | | | llvm-svn: 122590
* Add support for .cfi_lsda.Rafael Espindola2010-12-274-52/+122
| | | | llvm-svn: 122584
* MC/Mach-O/Thumb: Select appropriate relocation types for Thumb.Daniel Dunbar2010-12-271-9/+11
| | | | llvm-svn: 122583
* Handle reloc_riprel_4byte_movq_load. Should make the bots happy.Rafael Espindola2010-12-271-0/+1
| | | | llvm-svn: 122579
* Add support for the same encodings of the personality function that gnu asRafael Espindola2010-12-276-31/+88
| | | | | | supports. llvm-svn: 122577
* Fix .cfi_personality on 32 bit systems.Rafael Espindola2010-12-261-1/+1
| | | | llvm-svn: 122570
* Add support for @note. Patch by Jörg Sonnenberger.Rafael Espindola2010-12-263-0/+5
| | | | llvm-svn: 122568
* Add basic support for .cfi_personality.Rafael Espindola2010-12-263-10/+50
| | | | llvm-svn: 122566
* Generalize a previous change, fixing PR8855 - an valid large immediateChris Lattner2010-12-251-6/+6
| | | | | | rejected by the mc assembler. llvm-svn: 122557
* Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We nowRafael Espindola2010-12-245-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 Dunbar2010-12-241-0/+14
| | | | llvm-svn: 122547
* In llvm-mc parse a Hash token as a full line comment. Allows handling ofKevin Enderby2010-12-241-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 beenRafael Espindola2010-12-221-19/+5
| | | | | | fixed. llvm-svn: 122448
* Assert that the AddrDelta expression is really constant and wrap it in a setRafael Espindola2010-12-222-2/+10
| | | | | | if we have a lame assembler. llvm-svn: 122446
* Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a muchRafael Espindola2010-12-223-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 Dunbar2010-12-221-1/+1
| | | | llvm-svn: 122441
* Revert r122359 while I debug PR8845.Rafael Espindola2010-12-221-5/+19
| | | | llvm-svn: 122427
* Fix another conditional expression mismatched enum type warning.Matt Beaumont-Gay2010-12-221-1/+2
| | | | llvm-svn: 122419
* MC/Mach-O/ARM: We always use the SECTDIFF reloc type on ARM, which isDaniel Dunbar2010-12-221-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 Dunbar2010-12-221-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 Dunbar2010-12-221-6/+3
| | | | llvm-svn: 122409
* MC/Mach-O/ARM: Recognize generic _Data_N fixup kinds.Daniel Dunbar2010-12-221-0/+16
| | | | llvm-svn: 122408
* MC/Mach-O/ARM: Add enough relocation logic to get BR24 relocations.Daniel Dunbar2010-12-221-3/+26
| | | | llvm-svn: 122407
* MC/Mach-O/ARM: Fix thinko.Daniel Dunbar2010-12-221-1/+1
| | | | llvm-svn: 122406
* Use references and simplify.Rafael Espindola2010-12-222-7/+4
| | | | llvm-svn: 122405
* Simplify the handling of .size expressions.Rafael Espindola2010-12-221-17/+6
| | | | llvm-svn: 122404
* MC/Mach-O/ARM: Stub out RecordARMRelocation, which is mostly a copy ofDaniel Dunbar2010-12-221-1/+78
| | | | | | RecordRelocation with lots of FIXMEs. llvm-svn: 122402
* Simplify.Daniel Dunbar2010-12-221-6/+5
| | | | llvm-svn: 122401
* MC/Mach-O: Split out RecordARMRelocation for now, it is weird enough it isn'tDaniel Dunbar2010-12-221-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 enumMatt Beaumont-Gay2010-12-211-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 allRafael Espindola2010-12-211-19/+5
| | | | | | the folding it can. llvm-svn: 122359
* Don't relax org or align. They change size as the relaxation happens, but theyRafael Espindola2010-12-211-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 wrongDaniel Dunbar2010-12-211-7/+8
| | | | | | type. llvm-svn: 122334
* Layout one section until no relaxations are done and then move to the nextRafael Espindola2010-12-211-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 Divacky2010-12-201-0/+9
| | | | llvm-svn: 122268
OpenPOWER on IntegriCloud