aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCAssembler.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-25Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCA...Evan Cheng1-2/+2
2011-07-23Move TargetAsmParser.h TargetAsmBackend.h and TargetAsmLexer.h to MC where th...Evan Cheng1-1/+1
2011-05-08Don't force relaxation of AdvanceLoc instructions on OS X. gdb is happy withRafael Espindola1-2/+1
2011-04-29MCAsmLayout: Add support for computing the symbol offset of variables. NotDaniel Dunbar1-0/+27
2011-04-28Add a small temporary hack for producing identical eh_frame sections on OS X.Rafael Espindola1-1/+2
2011-04-26No relocation produces a SLEB or ULEB, make sure they are handled in MC.Rafael Espindola1-1/+3
2011-04-23Remove unused STL header includes.Jay Foad1-1/+0
2011-02-16Gas is very inconsistent about when a relaxation/relocation is needed. DoRafael Espindola1-2/+4
2011-01-23Add support for the --noexecstack option.Rafael Espindola1-1/+1
2010-12-28Relax address updates in the eh_frame section.Rafael Espindola1-3/+37
2010-12-24Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We nowRafael Espindola1-12/+24
2010-12-22Assert that the AddrDelta expression is really constant and wrap it in a setRafael Espindola1-1/+3
2010-12-22Use references and simplify.Rafael Espindola1-1/+1
2010-12-21Don't relax org or align. They change size as the relaxation happens, but theyRafael Espindola1-42/+27
2010-12-21Layout one section until no relaxations are done and then move to the nextRafael Espindola1-34/+41
2010-12-17Thumb's forced-PC-alignment requirement applies to the _total_ displacement, ...Owen Anderson1-2/+2
2010-12-17MC/Assembler: Strip out object writer arguments, now that it is always availableDaniel Dunbar1-49/+36
2010-12-17MC/Assembler: Make the MCObjectWriter available through the lifetime of theDaniel Dunbar1-21/+11
2010-12-16MC: Move target specific fixup info descriptors to TargetAsmBackend instead ofDaniel Dunbar1-2/+2
2010-12-15Fix typo in r121875.Owen Anderson1-1/+1
2010-12-15Implement cleanups suggested by Daniel.Owen Anderson1-7/+11
2010-12-15Relax alignment fragments.Rafael Espindola1-29/+26
2010-12-15Patch by David Meyer to avoid a O(N^2) behaviour when relaxing fragments.Rafael Espindola1-2/+5
2010-12-14ARM Fixups relative to thumb functions need to have the low bit of the valueJim Grosbach1-0/+10
2010-12-09Fix an issue in some Thumb fixups, where the effective PC address needs to be...Owen Anderson1-2/+9
2010-12-07Layout each section independently. With the testcase in PR8711:Rafael Espindola1-58/+23
2010-12-07Sorry for such a large commit. The summary is that only MachO cares about theRafael Espindola1-107/+15
2010-12-06Use references to simplify the code a bit.Rafael Espindola1-3/+3
2010-12-06Remove the instruction fragment to data fragment lowering since it was causingRafael Espindola1-98/+38
2010-12-06Remove the getAddress getter, initialize Ordinal in the constructor and useRafael Espindola1-0/+1
2010-12-06Add a getSymbolOffset method and use it in the ELF writer.Rafael Espindola1-0/+5
2010-12-04Once the layout is done we don't need to keep updating which fragments areRafael Espindola1-13/+5
2010-12-04Remember the contents of leb and dwarfline fragments when relaxing. This avoidsRafael Espindola1-35/+19
2010-12-02The sections that the ELF object writer has to create are very simple andRafael Espindola1-20/+0
2010-12-01Remove unused argument.Rafael Espindola1-3/+2
2010-11-23Invalidate the layout on any relaxation, not just Instructions. Bug found by ...Rafael Espindola1-9/+11
2010-11-23Reuse data fragments while lowering. Patch by David Meyer.Rafael Espindola1-26/+77
2010-11-19Add an assert.Rafael Espindola1-1/+3
2010-11-17make isVirtualSection a virtual method on MCSection. Chris' suggestion.Rafael Espindola1-5/+5
2010-11-15Change MCExpr::EvaluateAsRelocatableImpl of variables to return the originalRafael Espindola1-4/+6
2010-11-07Speed up AddSectionToTheEnd. It was walking all fragments in all sections.Rafael Espindola1-19/+4
2010-11-07Relax dwarf line fragments. This fixes a crash in the included testcase.Rafael Espindola1-13/+18
2010-11-02Do relaxations with FT_Org fragments. Fixes the FIXME:Rafael Espindola1-18/+24
2010-11-02Add support for expressions in .sleb/.uleb directives.Rafael Espindola1-37/+96
2010-09-30This is the last major patch to implement support for the .loc directiveKevin Enderby1-0/+38
2010-09-30Make it possible for the MCObjectWriter to decide if a given fixup is fullyRafael Espindola1-128/+27
2010-09-27Remove unused argument.Rafael Espindola1-4/+3
2010-09-24MC: Add missing ')' in diagnostic.Daniel Dunbar1-1/+1
2010-09-22Avoid some Mach-O specific alignment being done on ELF.Rafael Espindola1-18/+20
2010-09-15Add a InitSections method to the streamer interface.Rafael Espindola1-1/+1