summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clarify the LSDASection NULL checkAnton Korobeynikov2011-01-301-0/+2
| | | | llvm-svn: 124569
* Support printing exception section into the current one. This is the case ↵Anton Korobeynikov2011-01-241-1/+2
| | | | | | when LSDASection is blank llvm-svn: 124150
* Add a possibility to switch between CFI directives- and table-based frame ↵Anton Korobeynikov2011-01-141-8/+5
| | | | | | description emission. Currently all the backends use table-based stuff. llvm-svn: 123476
* Split stuff as a preparation for CFI directives-based frame information emissionAnton Korobeynikov2011-01-141-302/+17
| | | | llvm-svn: 123473
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-101-4/+4
| | | | | | and fixes here and there. llvm-svn: 123170
* Move getInitialFrameState() to TargetFrameInfoAnton Korobeynikov2010-11-181-1/+2
| | | | llvm-svn: 119754
* Reference the personalities. Don't copy them into a new vector.Bill Wendling2010-08-011-1/+1
| | | | llvm-svn: 109966
* Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe whatBill Wendling2010-05-141-8/+9
| | | | | | | | | the variable actually tracks. N.B., several back-ends are using "HasCalls" as being synonymous for something that adjusts the stack. This isn't 100% correct and should be looked into. llvm-svn: 103802
* remove some default arguments to EmitAlignment.Chris Lattner2010-04-281-6/+4
| | | | llvm-svn: 102482
* Add const qualifiers to CodeGen's use of LLVM IR constructs.Dan Gohman2010-04-151-4/+4
| | | | llvm-svn: 101334
* Workaround the breakage in r100616 by guarding all timers withTorok Edwin2010-04-071-10/+0
| | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618
* Use the "NamedGroupTimer" class to categorize DWARF emission better.Bill Wendling2010-04-071-12/+11
| | | | llvm-svn: 100616
* prune #includes, MMI can never be nullChris Lattner2010-04-051-2/+1
| | | | llvm-svn: 100408
* make DwarfException not inherit from DwarfPrinter.Chris Lattner2010-04-051-34/+41
| | | | llvm-svn: 100374
* Move EmitFrameMoves into AsmPrinter.Chris Lattner2010-04-041-2/+2
| | | | llvm-svn: 100371
* eliminate the "isEH" argument to EmitSectionOffset.Chris Lattner2010-04-041-6/+6
| | | | llvm-svn: 100355
* move some more stuff to asmprinter.Chris Lattner2010-04-041-10/+12
| | | | llvm-svn: 100351
* simplify some code.Chris Lattner2010-04-041-10/+11
| | | | llvm-svn: 100350
* move EmitEncodingByte to AsmPrinter.Chris Lattner2010-04-041-7/+7
| | | | llvm-svn: 100349
* inline EmitDifference away.Chris Lattner2010-04-041-8/+10
| | | | llvm-svn: 100347
* move gettemplabel and getdwlabel to AsmPrinter and renameChris Lattner2010-04-041-24/+31
| | | | | | them for consistency. llvm-svn: 100345
* move uleb/sleb printing into AsmPrinter from DwarfPrinter.Chris Lattner2010-04-041-14/+14
| | | | llvm-svn: 100344
* remove TargetMachine.h #include, also, TRI isn't used frequently Chris Lattner2010-04-041-0/+1
| | | | | | enough to warrant caching in AsmPrinter, so remove it. llvm-svn: 100336
* remove the raw_ostream from various dwarf printing things.Chris Lattner2010-04-041-3/+2
| | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325
* reduce indentationChris Lattner2010-03-311-20/+21
| | | | llvm-svn: 99999
* use RAII for ExceptionTimer tooChris Lattner2010-03-291-17/+3
| | | | llvm-svn: 99833
* get MMI out of the label uniquing business, just go to MCContextChris Lattner2010-03-141-1/+0
| | | | | | to get unique assembler temporary labels. llvm-svn: 98489
* remove now-dead code, all labels use MCSymbols.Chris Lattner2010-03-141-10/+1
| | | | llvm-svn: 98484
* fix a bug I introduced in r98459, causing some NNT failures.Chris Lattner2010-03-141-1/+1
| | | | llvm-svn: 98470
* change the LabelSDNode to be EHLabelSDNode and make it holdChris Lattner2010-03-141-3/+9
| | | | | | | | an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463
* change EH related stuff (other than EH_LABEL) to use MCSymbolChris Lattner2010-03-141-44/+33
| | | | | | | | | | | | | | | | instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459
* simplify EmitFrameMoves to take BaseLabel in as a symbolChris Lattner2010-03-131-4/+2
| | | | | | | instead of as a stem+idx pair, simplify the "is a new location" check to use symbol comparison. llvm-svn: 98432
* factor some labels, simplify some code.Chris Lattner2010-03-131-3/+5
| | | | llvm-svn: 98429
* remove dead code.Chris Lattner2010-03-121-19/+0
| | | | llvm-svn: 98365
* move three lowering hooks from MAI to TLOF and make one of themChris Lattner2010-03-101-6/+6
| | | | | | | semantic instead of syntactic. This completes MCization of darwin/x86[-64]! llvm-svn: 98145
* mcize the rest of EH emission, only one more directive missingChris Lattner2010-03-101-12/+17
| | | | | | for darwin/x86 to be completely mcized. llvm-svn: 98130
* set the temporary bit on MCSymbols correctly.Chris Lattner2010-03-101-1/+1
| | | | llvm-svn: 98124
* add some fixme's for MCizing. EH still has a few things thatChris Lattner2010-03-101-1/+1
| | | | | | | | need to be MCized, but the last debug info thing are LEB and cygwin specific (which the MC api doesn't support yet) and one specific form of EmitReference which I'll tackle next. llvm-svn: 98116
* mcize uses of PrintRelDirective and eliminate it.Chris Lattner2010-03-101-6/+4
| | | | llvm-svn: 98107
* eliminate EOL, adding all comments with the OutStreamer.AddComment Chris Lattner2010-03-091-22/+31
| | | | | | | | | | | 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
* now that the debug and eh emitters use a common .set counter,Chris Lattner2010-03-091-1/+1
| | | | | | we can eliminate "flavor". llvm-svn: 98011
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-1/+1
| | | | | | | | | 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-7/+8
| | | | llvm-svn: 98002
* remove another form of EmitReference.Chris Lattner2010-03-081-2/+2
| | | | llvm-svn: 97998
* mc'ize EmitLabel.Chris Lattner2010-03-081-10/+9
| | | | llvm-svn: 97996
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-5/+9
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* A much cleaner (and less code!) way of inserting the correct amount of paddingBill Wendling2010-02-261-50/+6
| | | | | | | | for alignment into the LSDA. If the TType base offset is emitted, then put the padding there. Otherwise, put it in the call site table length. There will be no conflict between the two sites when placing the padding in one place. llvm-svn: 97277
* Comment typo.Bill Wendling2010-02-261-1/+1
| | | | llvm-svn: 97269
* Fix comments.Bill Wendling2010-02-261-3/+3
| | | | llvm-svn: 97200
* Add another (and hopefully the last) exception case, where once we recalculateBill Wendling2010-02-261-3/+11
| | | | | | | the alignment requirement, if it no longer makes the TType base offset overflow into extra bytes, then we need to pad to those bytes ourselves. llvm-svn: 97196
OpenPOWER on IntegriCloud