Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | use Label->isDefined() instead of isLabelDeleted() now that we | Chris Lattner | 2010-03-14 | 1 | -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 symbol | Chris Lattner | 2010-03-13 | 1 | -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 Lattner | 2010-03-13 | 1 | -5/+4 | |
| | | | | llvm-svn: 98429 | |||||
* | various cleanups. | Chris Lattner | 2010-03-13 | 1 | -16/+17 | |
| | | | | llvm-svn: 98426 | |||||
* | reimplement the string pool used for inlined function | Chris Lattner | 2010-03-13 | 1 | -20/+32 | |
| | | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415 | |||||
* | inline the now-trivial implementation of GetGlobalValueSymbol into | Chris Lattner | 2010-03-12 | 1 | -2/+2 | |
| | | | | | | some of its callers. llvm-svn: 98388 | |||||
* | Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness of | Jeffrey Yasskin | 2010-03-12 | 1 | -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 Patel | 2010-03-11 | 1 | -1/+2 | |
| | | | | llvm-svn: 98302 | |||||
* | Avoid leaking CompileUnits in DwarfDebug.cpp. | Jeffrey Yasskin | 2010-03-11 | 1 | -13/+14 | |
| | | | | llvm-svn: 98268 | |||||
* | add missing filename! | Chris Lattner | 2010-03-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 98125 | |||||
* | inline away a form of IsPCRelative, eliminating the | Chris Lattner | 2010-03-10 | 1 | -4/+12 | |
| | | | | | | dead IsPCRel argument. llvm-svn: 98117 | |||||
* | add some fixme's for MCizing. EH still has a few things that | Chris Lattner | 2010-03-10 | 1 | -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 Lattner | 2010-03-09 | 1 | -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 kill | Chris Lattner | 2010-03-09 | 1 | -24/+13 | |
| | | | | | | off "EOL". llvm-svn: 98102 | |||||
* | reapply r98035: | Chris Lattner | 2010-03-09 | 1 | -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 a | Chris Lattner | 2010-03-09 | 1 | -0/+3 | |
| | | | | | | failure remaining on mainline. llvm-svn: 98046 | |||||
* | Speculatively revert r98035. It appears to have caused a set of buildbot | Eric Christopher | 2010-03-09 | 1 | -10/+9 | |
| | | | | | | failures. llvm-svn: 98039 | |||||
* | Now that setStartLabel takes an MCSymbol, we can de-ID'ize | Chris Lattner | 2010-03-09 | 1 | -9/+10 | |
| | | | | | | beginScope and RecordSourceLine. llvm-svn: 98035 | |||||
* | change DbgScope to keep track of the start/end label as MCSymbol* | Chris Lattner | 2010-03-09 | 1 | -41/+36 | |
| | | | | | | now that the dependence on ID is removed from MMI. llvm-svn: 98034 | |||||
* | remove a useless optimization: now that label replacement never | Chris Lattner | 2010-03-09 | 1 | -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 Lattner | 2010-03-09 | 1 | -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 Lattner | 2010-03-09 | 1 | -2/+0 | |
| | | | | llvm-svn: 98025 | |||||
* | add a EmitSymbolValue convenience method to MCStreamer. | Chris Lattner | 2010-03-09 | 1 | -4/+2 | |
| | | | | llvm-svn: 98017 | |||||
* | make InlineInfoLabels hold MCSymbol*'s, avoiding | Chris Lattner | 2010-03-09 | 1 | -9/+9 | |
| | | | | | | recomputation of the labels. llvm-svn: 98016 | |||||
* | mc'ize the last use of PrintLabelName and eliminate PrintLabelName. | Chris Lattner | 2010-03-09 | 1 | -6/+6 | |
| | | | | llvm-svn: 98015 | |||||
* | now that the debug and eh emitters use a common .set counter, | Chris Lattner | 2010-03-09 | 1 | -1/+1 | |
| | | | | | | we can eliminate "flavor". llvm-svn: 98011 | |||||
* | 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 | -13/+16 | |
| | | | | llvm-svn: 98002 | |||||
* | eliminate a form of PrintLabelName. | Chris Lattner | 2010-03-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 97999 | |||||
* | eliminate the non-MCSymbol versions of EmitReference. | Chris Lattner | 2010-03-08 | 1 | -6/+6 | |
| | | | | llvm-svn: 97997 | |||||
* | mc'ize EmitLabel. | Chris Lattner | 2010-03-08 | 1 | -46/+43 | |
| | | | | llvm-svn: 97996 | |||||
* | merge DIEObjectLabel and DIEDwarfLabel into DIELabel. | Chris Lattner | 2010-03-08 | 1 | -15/+5 | |
| | | | | | | 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 | -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 Patel | 2010-03-08 | 1 | -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 Patel | 2010-03-08 | 1 | -71/+50 | |
| | | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975 | |||||
* | Revert r97947. | Devang Patel | 2010-03-08 | 1 | -50/+71 | |
| | | | | llvm-svn: 97963 | |||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -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 Gregor | 2010-03-08 | 1 | -24/+20 | |
| | | | | llvm-svn: 97932 | |||||
* | Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie. | Jeffrey Yasskin | 2010-03-07 | 1 | -20/+24 | |
| | | | | llvm-svn: 97917 | |||||
* | _2_ gcc crashes, ah, ah, ah... | Jeffrey Yasskin | 2010-03-07 | 1 | -21/+16 | |
| | | | | | | (Rolling back r97906.) llvm-svn: 97909 | |||||
* | Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵ | Jeffrey Yasskin | 2010-03-07 | 1 | -16/+21 | |
| | | | | | | Valgrind! llvm-svn: 97906 | |||||
* | Fix grammar. | Devang Patel | 2010-03-02 | 1 | -1/+1 | |
| | | | | | | Thanks Duncan! llvm-svn: 97572 | |||||
* | Constructors and operators for anonymous aggregates does not names. Do not ↵ | Devang Patel | 2010-03-02 | 1 | -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 Patel | 2010-02-17 | 1 | -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 Gohman | 2010-02-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 95781 | |||||
* | Add declaration attribute to a variable DIE, if there is a separate DIE for ↵ | Devang Patel | 2010-02-09 | 1 | -0/+1 | |
| | | | | | | the definition. llvm-svn: 95646 | |||||
* | Set DW_AT_artificial only if argument is marked as artificial. | Devang Patel | 2010-02-06 | 1 | -5/+12 | |
| | | | | llvm-svn: 95461 | |||||
* | Do not generate specification DIE for nested functions. | Devang Patel | 2010-02-05 | 1 | -1/+7 | |
| | | | | llvm-svn: 95452 | |||||
* | Emit appropriate expression to find virtual base offset. | Devang Patel | 2010-02-03 | 1 | -1/+20 | |
| | | | | llvm-svn: 95242 | |||||
* | Provide interface to identifiy artificial methods. | Devang Patel | 2010-02-03 | 1 | -0/+3 | |
| | | | | llvm-svn: 95240 |