summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* use Label->isDefined() instead of isLabelDeleted() now that weChris Lattner2010-03-141-3/+4
| | | | | | | consistently use MCSymbol and only call this predicate after they should have been emitted. llvm-svn: 98461
* 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-5/+4
| | | | llvm-svn: 98429
* various cleanups.Chris Lattner2010-03-131-16/+17
| | | | llvm-svn: 98426
* reimplement the string pool used for inlined functionChris Lattner2010-03-131-20/+32
| | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415
* inline the now-trivial implementation of GetGlobalValueSymbol intoChris Lattner2010-03-121-2/+2
| | | | | | some of its callers. llvm-svn: 98388
* Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness ofJeffrey Yasskin2010-03-121-28/+29
| | | | | | several fields to make it easier to figure out where bugs might be creeping in. llvm-svn: 98358
* There is no need to create specification DIE for definitions at DIFile level.Devang Patel2010-03-111-1/+2
| | | | llvm-svn: 98302
* Avoid leaking CompileUnits in DwarfDebug.cpp.Jeffrey Yasskin2010-03-111-13/+14
| | | | llvm-svn: 98268
* add missing filename!Chris Lattner2010-03-101-0/+2
| | | | llvm-svn: 98125
* inline away a form of IsPCRelative, eliminating the Chris Lattner2010-03-101-4/+12
| | | | | | dead IsPCRel argument. llvm-svn: 98117
* add some fixme's for MCizing. EH still has a few things thatChris Lattner2010-03-101-11/+3
| | | | | | | | 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
* eliminate EOL, adding all comments with the OutStreamer.AddComment Chris Lattner2010-03-091-95/+112
| | | | | | | | | | | 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
* eliminate a bunch of \n's that are being printed to O. Next up is to killChris Lattner2010-03-091-24/+13
| | | | | | off "EOL". llvm-svn: 98102
* reapply r98035:Chris Lattner2010-03-091-9/+10
| | | | | | | Now that setStartLabel takes an MCSymbol, we can de-ID'ize beginScope and RecordSourceLine. llvm-svn: 98047
* add some extra checks. I'm not sure why, but this does unbreak aChris Lattner2010-03-091-0/+3
| | | | | | failure remaining on mainline. llvm-svn: 98046
* Speculatively revert r98035. It appears to have caused a set of buildbotEric Christopher2010-03-091-10/+9
| | | | | | failures. llvm-svn: 98039
* Now that setStartLabel takes an MCSymbol, we can de-ID'izeChris Lattner2010-03-091-9/+10
| | | | | | beginScope and RecordSourceLine. llvm-svn: 98035
* change DbgScope to keep track of the start/end label as MCSymbol* Chris Lattner2010-03-091-41/+36
| | | | | | now that the dependence on ID is removed from MMI. llvm-svn: 98034
* remove a useless optimization: now that label replacement neverChris Lattner2010-03-091-7/+0
| | | | | | happens, the start/end of a scope can never be the same. llvm-svn: 98032
* strength reduce MMI::MappedLabel to MMI::isLabelDeleted,Chris Lattner2010-03-091-9/+16
| | | | | | | and add a FIXME about how we are eventually going to zap this lookup table once mc world domination is complete. llvm-svn: 98031
* mcstreamerize AsmPrinter::printLabel.Chris Lattner2010-03-091-2/+0
| | | | llvm-svn: 98025
* add a EmitSymbolValue convenience method to MCStreamer.Chris Lattner2010-03-091-4/+2
| | | | llvm-svn: 98017
* make InlineInfoLabels hold MCSymbol*'s, avoiding Chris Lattner2010-03-091-9/+9
| | | | | | recomputation of the labels. llvm-svn: 98016
* mc'ize the last use of PrintLabelName and eliminate PrintLabelName.Chris Lattner2010-03-091-6/+6
| | | | llvm-svn: 98015
* 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-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-13/+16
| | | | llvm-svn: 98002
* eliminate a form of PrintLabelName.Chris Lattner2010-03-081-1/+1
| | | | llvm-svn: 97999
* eliminate the non-MCSymbol versions of EmitReference.Chris Lattner2010-03-081-6/+6
| | | | llvm-svn: 97997
* mc'ize EmitLabel.Chris Lattner2010-03-081-46/+43
| | | | llvm-svn: 97996
* merge DIEObjectLabel and DIEDwarfLabel into DIELabel.Chris Lattner2010-03-081-15/+5
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-27/+28
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Derive DIType from DIScope. This simplifies getContext() where for members ↵Devang Patel2010-03-081-27/+13
| | | | | | the context is a type. This also eliminates need of CompileUnitMaps maintained by dwarf writer. llvm-svn: 97990
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-71/+50
| | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
* Revert r97947.Devang Patel2010-03-081-50/+71
| | | | llvm-svn: 97963
* Avoid using DIDescriptor.isNull().Devang Patel2010-03-081-71/+50
| | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947
* Revert r97917, which was causing Clang Debug self-host failures.Douglas Gregor2010-03-081-24/+20
| | | | llvm-svn: 97932
* Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.Jeffrey Yasskin2010-03-071-20/+24
| | | | llvm-svn: 97917
* _2_ gcc crashes, ah, ah, ah...Jeffrey Yasskin2010-03-071-21/+16
| | | | | | (Rolling back r97906.) llvm-svn: 97909
* Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵Jeffrey Yasskin2010-03-071-16/+21
| | | | | | Valgrind! llvm-svn: 97906
* Fix grammar.Devang Patel2010-03-021-1/+1
| | | | | | Thanks Duncan! llvm-svn: 97572
* Constructors and operators for anonymous aggregates does not names. Do not ↵Devang Patel2010-03-021-1/+3
| | | | | | force empty AT_name attribute in such cases. llvm-svn: 97533
* Before setting scope end marker, pay attention to scope begin marker and ↵Devang Patel2010-02-171-1/+12
| | | | | | existing scope end marker, if any. Scope must begin before it ends and nested inlined scope do not truncate surrounding scope. llvm-svn: 96445
* Fix "the the" and similar typos.Dan Gohman2010-02-101-1/+1
| | | | llvm-svn: 95781
* Add declaration attribute to a variable DIE, if there is a separate DIE for ↵Devang Patel2010-02-091-0/+1
| | | | | | the definition. llvm-svn: 95646
* Set DW_AT_artificial only if argument is marked as artificial.Devang Patel2010-02-061-5/+12
| | | | llvm-svn: 95461
* Do not generate specification DIE for nested functions.Devang Patel2010-02-051-1/+7
| | | | llvm-svn: 95452
* Emit appropriate expression to find virtual base offset.Devang Patel2010-02-031-1/+20
| | | | llvm-svn: 95242
* Provide interface to identifiy artificial methods.Devang Patel2010-02-031-0/+3
| | | | llvm-svn: 95240
OpenPOWER on IntegriCloud