summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfPrinter.h
Commit message (Collapse)AuthorAgeFilesLines
* nuke DwarfPrinterChris Lattner2010-04-051-81/+0
| | | | llvm-svn: 100375
* Move EmitFrameMoves into AsmPrinter.Chris Lattner2010-04-041-4/+0
| | | | llvm-svn: 100371
* now that the magic is dispelled, move EmitSectionOffset to AsmPrinter.Chris Lattner2010-04-041-10/+0
| | | | llvm-svn: 100368
* remove the didInitial ivar, rename emitInitial to be moreChris Lattner2010-04-041-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 Lattner2010-04-041-3/+8
| | | | llvm-svn: 100360
* The "IsSmall" argument to EmitSectionOffset is always true,Chris Lattner2010-04-041-4/+3
| | | | | | constant fold it away. llvm-svn: 100356
* eliminate the "isEH" argument to EmitSectionOffset.Chris Lattner2010-04-041-1/+1
| | | | llvm-svn: 100355
* move some more stuff to asmprinter.Chris Lattner2010-04-041-18/+0
| | | | llvm-svn: 100351
* inline EmitDifference away.Chris Lattner2010-04-041-4/+0
| | | | llvm-svn: 100347
* move gettemplabel and getdwlabel to AsmPrinter and renameChris Lattner2010-04-041-8/+0
| | | | | | them for consistency. llvm-svn: 100345
* move uleb/sleb printing into AsmPrinter from DwarfPrinter.Chris Lattner2010-04-041-9/+1
| | | | llvm-svn: 100344
* remove the raw_ostream from various dwarf printing things.Chris Lattner2010-04-041-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 symbolChris Lattner2010-03-131-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 Lattner2010-03-101-3/+0
| | | | | | dead IsPCRel argument. llvm-svn: 98117
* mcize uses of PrintRelDirective and eliminate it.Chris Lattner2010-03-101-2/+0
| | | | llvm-svn: 98107
* inline the bool form of PrintRelDirective away, leaving just the unsigned form.Chris Lattner2010-03-091-1/+0
| | | | llvm-svn: 98106
* eliminate EOL, adding all comments with the OutStreamer.AddComment Chris Lattner2010-03-091-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 Lattner2010-03-091-4/+0
| | | | llvm-svn: 98015
* eliminate an argument from PrintRelDirective, sinkingChris Lattner2010-03-091-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 Lattner2010-03-091-2/+0
| | | | | | used for 'flavor'. llvm-svn: 98012
* now that the debug and eh emitters use a common .set counter,Chris Lattner2010-03-091-6/+1
| | | | | | we can eliminate "flavor". llvm-svn: 98011
* move .set generation out of DwarfPrinter into AsmPrinter and Chris Lattner2010-03-081-3/+0
| | | | | | MCize it. llvm-svn: 98010
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-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 Lattner2010-03-081-4/+0
| | | | llvm-svn: 98002
* eliminate a form of PrintLabelName.Chris Lattner2010-03-081-1/+0
| | | | llvm-svn: 97999
* remove another form of EmitReference.Chris Lattner2010-03-081-1/+0
| | | | llvm-svn: 97998
* eliminate the non-MCSymbol versions of EmitReference.Chris Lattner2010-03-081-6/+1
| | | | llvm-svn: 97997
* mc'ize EmitLabel.Chris Lattner2010-03-081-5/+0
| | | | llvm-svn: 97996
* merge DIEObjectLabel and DIEDwarfLabel into DIELabel.Chris Lattner2010-03-081-7/+0
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-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 theBill Wendling2010-02-241-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 Korobeynikov2010-02-151-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. CppcheckDuncan Sands2010-02-071-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 methodChris Lattner2010-01-261-1/+1
| | | | | | is constified. llvm-svn: 94613
* eliminate MCAsmInfo::NeedsSet: we now just use .set on any platformChris Lattner2010-01-261-3/+1
| | | | | | that has it. llvm-svn: 94581
* move "EOL" from asmprinter to dwarfprinter. It should eventuallyChris Lattner2010-01-221-0/+5
| | | | | | be completely eliminated, but today is not that day. llvm-svn: 94253
* add a new EmitCFAByte method and use it.Chris Lattner2010-01-221-0/+4
| | | | llvm-svn: 94251
* move uleb printing from asmprinter to dwarfprinter, mcize,Chris Lattner2010-01-221-2/+5
| | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
* move sleb printing out of asmprinter into dwarf printer, make clientsChris Lattner2010-01-221-4/+7
| | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
* add a new DwarfPrinter::EmitEncodingByte method which handlesChris Lattner2010-01-221-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 filenameChris Lattner2010-01-221-3/+3
| | | | | | and much more accurately describes what it is all about. llvm-svn: 94233
* fix indentationChris Lattner2010-01-221-128/+117
| | | | llvm-svn: 94232
* inline away the trivial AsmPrinter::EOL() method.Chris Lattner2010-01-221-1/+1
| | | | llvm-svn: 94230
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-161-0/+3
| | | | llvm-svn: 93647
* Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507.Nick Lewycky2009-11-171-1/+1
| | | | llvm-svn: 89075
* Simply LSDA lable emission to use a direct special-case output instead ofJim Grosbach2009-09-011-5/+3
| | | | | | EmitLabel() llvm-svn: 80677
* Clean up LSDA name generation and use for SJLJ exception handling. ThisJim Grosbach2009-09-011-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 Lattner2009-08-221-3/+3
| | | | llvm-svn: 79777
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-4/+4
| | | | llvm-svn: 79763
* Split out the DwarfDebug module from the DwarfWriter module.Bill Wendling2009-05-151-2/+2
| | | | | | Again, no intendtional functionality change. llvm-svn: 71854
OpenPOWER on IntegriCloud