| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Revert r88939. | Devang Patel | 2009-11-16 | 1 | -2/+2 |
| | | | | | llvm-svn: 88973 | ||||
| * | Add VISIBILITY_HIDDEN marker. | Devang Patel | 2009-11-16 | 1 | -2/+2 |
| | | | | | llvm-svn: 88939 | ||||
| * | Support spill comments. | David Greene | 2009-11-16 | 1 | -0/+52 |
| | | | | | | | | | Have the asm printer emit a comment if an instruction is a spill or reload and have the spiller mark copies it introdues so the asm printer can also annotate those. llvm-svn: 88911 | ||||
| * | revert 88761 as it fails builds. | Sanjiv Gupta | 2009-11-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 88762 | ||||
| * | Fix debug info crashes for PIC16. | Sanjiv Gupta | 2009-11-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 88761 | ||||
| * | Use .data() instead of .c_str() when nul-termination is not needed. | Dan Gohman | 2009-11-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 88703 | ||||
| * | Move DebugInfo checks into EmitComments and remove them from | David Greene | 2009-11-13 | 1 | -15/+23 |
| | | | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697 | ||||
| * | Ignore nameless variables. | Devang Patel | 2009-11-13 | 1 | -1/+3 |
| | | | | | llvm-svn: 87069 | ||||
| * | Simplify code a bit | Bill Wendling | 2009-11-12 | 1 | -4/+3 |
| | | | | | llvm-svn: 87040 | ||||
| * | Refactor code that checks if it's a call to a "nounwind" function. | Bill Wendling | 2009-11-12 | 2 | -31/+40 |
| | | | | | llvm-svn: 87036 | ||||
| * | If there's more than one function operand to a call instruction, be conservative | Bill Wendling | 2009-11-12 | 1 | -1/+12 |
| | | | | | | | | | | and don't assume that the call doesn't throw. It would be nice if there were a way to determine which is the callee and which is a parameter. In practice, the architecture we care about normally only have one operand for a call instruction (x86 and arm). llvm-svn: 87023 | ||||
| * | "Attach debug info with llvm instructions" mode was enabled a month ago. Now ↵ | Devang Patel | 2009-11-12 | 3 | -267/+3 |
| | | | | | | | make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014 | ||||
| * | Don't mark a call as potentially throwing if the function it's calling has the | Bill Wendling | 2009-11-11 | 1 | -1/+21 |
| | | | | | | | "nounwind" attribute. llvm-svn: 86897 | ||||
| * | If doesSupportDebugInformation() is false then do not try to emit dwarf ↵ | Devang Patel | 2009-11-11 | 1 | -0/+3 |
| | | | | | | | debug info. llvm-svn: 86874 | ||||
| * | Fix -Asserts warning. | Daniel Dunbar | 2009-11-11 | 1 | -0/+1 |
| | | | | | llvm-svn: 86794 | ||||
| * | Make sure that the exception handling data has the same visibility as the | Bill Wendling | 2009-11-11 | 1 | -2/+7 |
| | | | | | | | function it's generated for. llvm-svn: 86779 | ||||
| * | Do not assume first function scope seen represents current function. | Devang Patel | 2009-11-11 | 1 | -2/+3 |
| | | | | | llvm-svn: 86771 | ||||
| * | While creating DbgScopes, do not forget parent scope. | Devang Patel | 2009-11-11 | 1 | -0/+2 |
| | | | | | llvm-svn: 86763 | ||||
| * | Ignore variable if scope info is not available. | Devang Patel | 2009-11-10 | 1 | -2/+5 |
| | | | | | llvm-svn: 86753 | ||||
| * | Implement support to debug inlined functions. | Devang Patel | 2009-11-10 | 4 | -444/+564 |
| | | | | | llvm-svn: 86748 | ||||
| * | Fix DenseMap iterator constness. | Jeffrey Yasskin | 2009-11-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | This patch forbids implicit conversion of DenseMap::const_iterator to DenseMap::iterator which was possible because DenseMapIterator inherited (publicly) from DenseMapConstIterator. Conversion the other way around is now allowed as one may expect. The template DenseMapConstIterator is removed and the template parameter IsConst which specifies whether the iterator is constant is added to DenseMapIterator. Actually IsConst parameter is not necessary since the constness can be determined from KeyT but this is not relevant to the fix and can be addressed later. Patch by Victor Zverovich! llvm-svn: 86636 | ||||
| * | Fix comment typos. | Bob Wilson | 2009-11-06 | 1 | -3/+3 |
| | | | | | llvm-svn: 86295 | ||||
| * | Do not bother to emit debug info for nameless global variable. | Devang Patel | 2009-11-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 86259 | ||||
| * | Do not try to emit debug info entry for dead global variable. | Devang Patel | 2009-11-06 | 1 | -1/+6 |
| | | | | | llvm-svn: 86212 | ||||
| * | Factor out the printing of the leading tab into printInlineAsm. | Dan Gohman | 2009-11-06 | 1 | -0/+2 |
| | | | | | llvm-svn: 86199 | ||||
| * | Fix the label name generation for address-taken labels to avoid potential | Dan Gohman | 2009-11-05 | 1 | -6/+10 |
| | | | | | | | problems with name collisions. llvm-svn: 86189 | ||||
| * | While calculating original type size for a derived type, handle type ↵ | Devang Patel | 2009-11-04 | 1 | -3/+1 |
| | | | | | | | | | variants encoded as DIDerivedType appropriately. This improves bitfield support. llvm-svn: 86073 | ||||
| * | Fix DW_AT_data_member_location for bit-fields. It points to the location of ↵ | Devang Patel | 2009-11-04 | 1 | -5/+12 |
| | | | | | | | annonymous field that covers respective field. llvm-svn: 86054 | ||||
| * | Array element size does not match array size but array is not a bitfield. | Devang Patel | 2009-11-04 | 1 | -1/+3 |
| | | | | | llvm-svn: 86043 | ||||
| * | Print out an informative comment for KILL instructions. | Jakob Stoklund Olesen | 2009-11-04 | 1 | -0/+11 |
| | | | | | | | | | The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output. With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF. llvm-svn: 86041 | ||||
| * | Ignore unnamed variables. | Devang Patel | 2009-11-03 | 1 | -1/+3 |
| | | | | | llvm-svn: 85909 | ||||
| * | Fix a funky "declared with greater visibility than the type of its field" | Jeffrey Yasskin | 2009-11-03 | 1 | -2/+2 |
| | | | | | | | warning from gcc by removing VISIBILITY_HIDDEN attributes. llvm-svn: 85873 | ||||
| * | Fix a missing newline in the dwarf output code. | Dan Gohman | 2009-10-31 | 1 | -0/+1 |
| | | | | | llvm-svn: 85684 | ||||
| * | Add support for BlockAddress static initializers. | Dan Gohman | 2009-10-30 | 1 | -0/+2 |
| | | | | | llvm-svn: 85562 | ||||
| * | Add a FIXME comment. | Dan Gohman | 2009-10-30 | 1 | -0/+2 |
| | | | | | llvm-svn: 85559 | ||||
| * | Add some comments. | Dan Gohman | 2009-10-30 | 1 | -0/+8 |
| | | | | | llvm-svn: 85558 | ||||
| * | Initial target-independent CodeGen support for BlockAddresses. | Dan Gohman | 2009-10-30 | 1 | -0/+27 |
| | | | | | llvm-svn: 85556 | ||||
| * | Do not held on to DenseMap slot accross map insertion. The insertion may ↵ | Devang Patel | 2009-10-27 | 2 | -22/+26 |
| | | | | | | | | | cause the map to grow rending the slot invalid. Use this opportunity to use ValueMap instead of DenseMap. llvm-svn: 85298 | ||||
| * | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 |
| | | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | ||||
| * | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -1/+1 |
| | | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | ||||
| * | Tidying up some code and comments. No functionality change. | Bill Wendling | 2009-10-22 | 1 | -24/+6 |
| | | | | | llvm-svn: 84894 | ||||
| * | Do not emit name entry for a pointer type. | Devang Patel | 2009-10-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 84276 | ||||
| * | If there is not any llvm instruction associated with each lexical scope ↵ | Devang Patel | 2009-10-16 | 1 | -2/+10 |
| | | | | | | | encoded in debug info then create such scope on demand for variable info. llvm-svn: 84262 | ||||
| * | Add support to record DbgScope as inlined scope. | Devang Patel | 2009-10-14 | 2 | -25/+44 |
| | | | | | llvm-svn: 84134 | ||||
| * | s/DebugLoc.CompileUnit/DebugLoc.Scope/g | Devang Patel | 2009-10-13 | 2 | -12/+13 |
| | | | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054 | ||||
| * | Fix a -Asserts warning. | Daniel Dunbar | 2009-10-13 | 1 | -2/+3 |
| | | | | | llvm-svn: 83950 | ||||
| * | Find enclosing subprogram info. | Devang Patel | 2009-10-12 | 1 | -1/+19 |
| | | | | | llvm-svn: 83922 | ||||
| * | Extract scope information from the variable itself, instead of relying on ↵ | Devang Patel | 2009-10-09 | 2 | -22/+31 |
| | | | | | | | | | alloca or llvm.dbg.declare location. While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself. llvm-svn: 83684 | ||||
| * | Check invalid debug info for enums. This may happen when underlyng enum is ↵ | Devang Patel | 2009-10-09 | 1 | -2/+4 |
| | | | | | | | optimized away. Eventually DwarfChecker will clean this up during llvm verification stage. llvm-svn: 83655 | ||||
| * | Do not record line number to implicitly mark start of function if function ↵ | Devang Patel | 2009-10-08 | 2 | -12/+23 |
| | | | | | | | has arguments. Extra line number entries trip gdb in some cases. llvm-svn: 83563 | ||||

