Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nuke DwarfPrinter | Chris Lattner | 2010-04-05 | 1 | -81/+0 |
| | | | | llvm-svn: 100375 | ||||
* | Move EmitFrameMoves into AsmPrinter. | Chris Lattner | 2010-04-04 | 1 | -4/+0 |
| | | | | llvm-svn: 100371 | ||||
* | now that the magic is dispelled, move EmitSectionOffset to AsmPrinter. | Chris Lattner | 2010-04-04 | 1 | -10/+0 |
| | | | | llvm-svn: 100368 | ||||
* | remove the didInitial ivar, rename emitInitial to be more | Chris Lattner | 2010-04-04 | 1 | -3/+4 |
| | | | | | | | descriptive, change EmitSectionOffset back to taking a symbol instead of a string. llvm-svn: 100361 | ||||
* | simplify EmitSectionOffset a little bit, improve comments. | Chris Lattner | 2010-04-04 | 1 | -3/+8 |
| | | | | llvm-svn: 100360 | ||||
* | The "IsSmall" argument to EmitSectionOffset is always true, | Chris Lattner | 2010-04-04 | 1 | -4/+3 |
| | | | | | | constant fold it away. llvm-svn: 100356 | ||||
* | eliminate the "isEH" argument to EmitSectionOffset. | Chris Lattner | 2010-04-04 | 1 | -1/+1 |
| | | | | llvm-svn: 100355 | ||||
* | move some more stuff to asmprinter. | Chris Lattner | 2010-04-04 | 1 | -18/+0 |
| | | | | llvm-svn: 100351 | ||||
* | inline EmitDifference away. | Chris Lattner | 2010-04-04 | 1 | -4/+0 |
| | | | | llvm-svn: 100347 | ||||
* | move gettemplabel and getdwlabel to AsmPrinter and rename | Chris Lattner | 2010-04-04 | 1 | -8/+0 |
| | | | | | | them for consistency. llvm-svn: 100345 | ||||
* | move uleb/sleb printing into AsmPrinter from DwarfPrinter. | Chris Lattner | 2010-04-04 | 1 | -9/+1 |
| | | | | llvm-svn: 100344 | ||||
* | remove the raw_ostream from various dwarf printing things. | Chris Lattner | 2010-04-04 | 1 | -4/+1 |
| | | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325 | ||||
* | simplify EmitFrameMoves to take BaseLabel in as a symbol | Chris Lattner | 2010-03-13 | 1 | -1/+1 |
| | | | | | | | instead of as a stem+idx pair, simplify the "is a new location" check to use symbol comparison. llvm-svn: 98432 | ||||
* | inline away a form of IsPCRelative, eliminating the | Chris Lattner | 2010-03-10 | 1 | -3/+0 |
| | | | | | | dead IsPCRel argument. llvm-svn: 98117 | ||||
* | mcize uses of PrintRelDirective and eliminate it. | Chris Lattner | 2010-03-10 | 1 | -2/+0 |
| | | | | llvm-svn: 98107 | ||||
* | inline the bool form of PrintRelDirective away, leaving just the unsigned form. | Chris Lattner | 2010-03-09 | 1 | -1/+0 |
| | | | | llvm-svn: 98106 | ||||
* | eliminate EOL, adding all comments with the OutStreamer.AddComment | Chris Lattner | 2010-03-09 | 1 | -4/+0 |
| | | | | | | | | | | | method. With this, comments should end up on the same lines as the .byte directives (for example) and we now get no output with: $ llc CodeGen/X86/2009-02-12-DebugInfoVLA.ll -o - -filetype=null -asm-verbose woot. llvm-svn: 98105 | ||||
* | mc'ize the last use of PrintLabelName and eliminate PrintLabelName. | Chris Lattner | 2010-03-09 | 1 | -4/+0 |
| | | | | llvm-svn: 98015 | ||||
* | eliminate an argument from PrintRelDirective, sinking | Chris Lattner | 2010-03-09 | 1 | -2/+3 |
| | | | | | | | the one special case into EmitSectionOffset. MCize the non-special case in EmitSectionOffset. llvm-svn: 98014 | ||||
* | remove the suffix form of PrintLabelName, which was only | Chris Lattner | 2010-03-09 | 1 | -2/+0 |
| | | | | | | used for 'flavor'. llvm-svn: 98012 | ||||
* | now that the debug and eh emitters use a common .set counter, | Chris Lattner | 2010-03-09 | 1 | -6/+1 |
| | | | | | | we can eliminate "flavor". llvm-svn: 98011 | ||||
* | move .set generation out of DwarfPrinter into AsmPrinter and | Chris Lattner | 2010-03-08 | 1 | -3/+0 |
| | | | | | | MCize it. llvm-svn: 98010 | ||||
* | simplify EmitSectionOffset to always use .set if it is | Chris Lattner | 2010-03-08 | 1 | -2/+2 |
| | | | | | | | | | available, the only thing this affects is that we produce .set in one case we didn't before, which shouldn't harm anything. Make EmitSectionOffset call EmitDifference instead of duplicating it. llvm-svn: 98005 | ||||
* | Remove a version of EmitDifference. | Chris Lattner | 2010-03-08 | 1 | -4/+0 |
| | | | | llvm-svn: 98002 | ||||
* | eliminate a form of PrintLabelName. | Chris Lattner | 2010-03-08 | 1 | -1/+0 |
| | | | | llvm-svn: 97999 | ||||
* | remove another form of EmitReference. | Chris Lattner | 2010-03-08 | 1 | -1/+0 |
| | | | | llvm-svn: 97998 | ||||
* | eliminate the non-MCSymbol versions of EmitReference. | Chris Lattner | 2010-03-08 | 1 | -6/+1 |
| | | | | llvm-svn: 97997 | ||||
* | mc'ize EmitLabel. | Chris Lattner | 2010-03-08 | 1 | -5/+0 |
| | | | | llvm-svn: 97996 | ||||
* | merge DIEObjectLabel and DIEDwarfLabel into DIELabel. | Chris Lattner | 2010-03-08 | 1 | -7/+0 |
| | | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995 | ||||
* | elimiante the DWLabel class, using MCSymbol instead. Start | Chris Lattner | 2010-03-08 | 1 | -20/+20 |
| | | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993 | ||||
* | LLVM puts padding bytes in the __gcc_except_tab section after the | Bill Wendling | 2010-02-24 | 1 | -1/+2 |
| | | | | | | | | | | GCC_except_table label but before the Lexception, which the FDE references. This causes problems as the FDE does not point to the start of an LSDA chunk. Use an unnormalized uleb128 for the call-site table length that includes the padding. llvm-svn: 97078 | ||||
* | Preliminary patch to improve dwarf EH generation - Hooks to return ↵ | Anton Korobeynikov | 2010-02-15 | 1 | -0/+9 |
| | | | | | | Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there llvm-svn: 96285 | ||||
* | Give DwarfPrinter a protected (but not virtual) destructor. Cppcheck | Duncan Sands | 2010-02-07 | 1 | -0/+2 |
| | | | | | | | | | warns about this base class not having a virtual destructor, but since this class has no virtual methods and neither it or the types derived from it has a destructor, a protected trivial destructor will do (and shuts cppcheck up) the trick without the cost of introducing a vtable. llvm-svn: 95526 | ||||
* | constify a bunch of dwarf stuff now that the registerinfo method | Chris Lattner | 2010-01-26 | 1 | -1/+1 |
| | | | | | | is constified. llvm-svn: 94613 | ||||
* | eliminate MCAsmInfo::NeedsSet: we now just use .set on any platform | Chris Lattner | 2010-01-26 | 1 | -3/+1 |
| | | | | | | that has it. llvm-svn: 94581 | ||||
* | move "EOL" from asmprinter to dwarfprinter. It should eventually | Chris Lattner | 2010-01-22 | 1 | -0/+5 |
| | | | | | | be completely eliminated, but today is not that day. llvm-svn: 94253 | ||||
* | add a new EmitCFAByte method and use it. | Chris Lattner | 2010-01-22 | 1 | -0/+4 |
| | | | | llvm-svn: 94251 | ||||
* | move uleb printing from asmprinter to dwarfprinter, mcize, | Chris Lattner | 2010-01-22 | 1 | -2/+5 |
| | | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250 | ||||
* | move sleb printing out of asmprinter into dwarf printer, make clients | Chris Lattner | 2010-01-22 | 1 | -4/+7 |
| | | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244 | ||||
* | add a new DwarfPrinter::EmitEncodingByte method which handles | Chris Lattner | 2010-01-22 | 1 | -0/+7 |
| | | | | | | | | | | | | | | pretty printing encoding comments and eliminates redundancy on the client side. We now get pretty dwarf like this again: .byte 255 ## @LPStart Encoding = omit .byte 0 ## @TType Encoding = absptr .byte 0x28 ## @TType base offset .byte 3 ## Call site Encoding = udata4 .byte 0x1a ## Call site table size ... llvm-svn: 94239 | ||||
* | rename the dwarf class to DwarfPrinter. This matches the filename | Chris Lattner | 2010-01-22 | 1 | -3/+3 |
| | | | | | | and much more accurately describes what it is all about. llvm-svn: 94233 | ||||
* | fix indentation | Chris Lattner | 2010-01-22 | 1 | -128/+117 |
| | | | | llvm-svn: 94232 | ||||
* | inline away the trivial AsmPrinter::EOL() method. | Chris Lattner | 2010-01-22 | 1 | -1/+1 |
| | | | | llvm-svn: 94230 | ||||
* | Change DIEObjectLabel to take an MCSymbol instead of std::string. | Chris Lattner | 2010-01-16 | 1 | -0/+3 |
| | | | | llvm-svn: 93647 | ||||
* | Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507. | Nick Lewycky | 2009-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 89075 | ||||
* | Simply LSDA lable emission to use a direct special-case output instead of | Jim Grosbach | 2009-09-01 | 1 | -5/+3 |
| | | | | | | EmitLabel() llvm-svn: 80677 | ||||
* | Clean up LSDA name generation and use for SJLJ exception handling. This | Jim Grosbach | 2009-09-01 | 1 | -3/+5 |
| | | | | | | | | | | | makes an eggregious hack somewhat more palatable. Bringing the LSDA forward and making it a GV available for reference would be even better, but is beyond the scope of what I'm looking to solve at this point. Objective C++ code could generate function names that broke the previous scheme. This fixes that. llvm-svn: 80649 | ||||
* | rename TAI -> MAI, being careful not to make MAILJMP instructions :) | Chris Lattner | 2009-08-22 | 1 | -3/+3 |
| | | | | llvm-svn: 79777 | ||||
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -4/+4 |
| | | | | llvm-svn: 79763 | ||||
* | Split out the DwarfDebug module from the DwarfWriter module. | Bill Wendling | 2009-05-15 | 1 | -2/+2 |
| | | | | | | Again, no intendtional functionality change. llvm-svn: 71854 |