Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Have the DbgVariable "isArtificial" and "isObjectPointer" not | Eric Christopher | 2012-09-21 | 1 | -4/+2 |
| | | | | | | | | | | | | care about it being an argument variable so that we can decide that captured block and lambda vars that don't happen to be arguments could be an argument pointer. Add the object pointer for one case onto the subprogram die. rdar://12001329 llvm-svn: 164419 | ||||
* | Recommit, with fixes: | Eric Christopher | 2012-09-12 | 1 | -0/+10 |
| | | | | | | | | | | | Add some support for dealing with an object pointer on arguments. Part of rdar://9797999 which now supports adding the object pointer attribute to the subprogram as it should. llvm-svn: 163754 | ||||
* | Revert "Add some support for dealing with an object pointer on arguments." | Eric Christopher | 2012-09-12 | 1 | -10/+0 |
| | | | | | | This should be done on the subprogram, not the variable itself. llvm-svn: 163734 | ||||
* | Add some support for dealing with an object pointer on arguments. | Eric Christopher | 2012-09-12 | 1 | -0/+10 |
| | | | | | | Part of rdar://9797999 llvm-svn: 163667 | ||||
* | 80-col fixup. | Eric Christopher | 2012-09-10 | 1 | -1/+2 |
| | | | | llvm-svn: 163569 | ||||
* | Turn these two options in to trinary state so that they can be | Eric Christopher | 2012-08-23 | 1 | -1/+2 |
| | | | | | | turned on and off separate from the platform if you're on darwin. llvm-svn: 162487 | ||||
* | Add a flag to DwarfDebug to allow it to communicate whether or not | Eric Christopher | 2012-08-23 | 1 | -0/+7 |
| | | | | | | we're using the darwin old gdb compat mode for emitting dwarf. llvm-svn: 162486 | ||||
* | Temporarily revert c23b933d5f8be9b51a1d22e717c0311f65f87dcd. It's causing | Eric Christopher | 2012-08-01 | 1 | -3/+0 |
| | | | | | | failures in the debug testsuite and possibly PR13486. llvm-svn: 161121 | ||||
* | Add a DW_AT_high_pc for CUs that are a single address range. Update | Eric Christopher | 2012-07-27 | 1 | -0/+3 |
| | | | | | | | | | | all tests accordingly. Fixes PR13351. Patch by shinichiro hamaji! llvm-svn: 160899 | ||||
* | Cleanup in DwarfDebug - fix a typo and remove two unused functions | Alexey Samsonov | 2012-06-29 | 1 | -7/+1 |
| | | | | llvm-svn: 159433 | ||||
* | Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp and | Bill Wendling | 2012-06-28 | 1 | -2/+2 |
| | | | | | | | | | include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h. The reasoning is because the DebugInfo module is simply an interface to the debug info MDNodes and has nothing to do with analysis. llvm-svn: 159312 | ||||
* | Allocate the contents of DwarfDebug's StringMaps in a single big ↵ | Benjamin Kramer | 2012-06-09 | 1 | -5/+5 |
| | | | | | | BumpPtrAllocator. llvm-svn: 158265 | ||||
* | DwarfDebug: Store the filename/dirname pair as a zero-separated string in a ↵ | Benjamin Kramer | 2012-03-11 | 1 | -4/+3 |
| | | | | | | stringmap, instead of using a highly inefficient std::map of a pair of std::strings. llvm-svn: 152541 | ||||
* | Grammar. | Eric Christopher | 2012-03-02 | 1 | -1/+1 |
| | | | | llvm-svn: 151874 | ||||
* | tidy up forward declarations. | Chris Lattner | 2012-01-26 | 1 | -0/+2 |
| | | | | llvm-svn: 149078 | ||||
* | Remove the pubnames section, no one consumes it. | Eric Christopher | 2011-11-09 | 1 | -4/+1 |
| | | | | llvm-svn: 144169 | ||||
* | Remove unnecessary addition to API. Replace with something much simpler. | Eric Christopher | 2011-11-07 | 1 | -4/+0 |
| | | | | llvm-svn: 143925 | ||||
* | Add the support code to enable the dwarf accelerator tables. Upcoming patches | Eric Christopher | 2011-11-07 | 1 | -0/+15 |
| | | | | | | | | to fix the types section (all types, not just global types), and testcases. The code to do the final emission is disabled by default. llvm-svn: 143923 | ||||
* | Expose a way to get the beginning of the dwarf string section. | Eric Christopher | 2011-11-07 | 1 | -0/+4 |
| | | | | llvm-svn: 143920 | ||||
* | Don't emit a directory entry for the value in DW_AT_comp_dir, that is always | Nick Lewycky | 2011-11-02 | 1 | -0/+4 |
| | | | | | | implied by directory index zero. llvm-svn: 143570 | ||||
* | Teach our Dwarf emission to use the string pool. | Nick Lewycky | 2011-10-27 | 1 | -2/+7 |
| | | | | llvm-svn: 143097 | ||||
* | Remove unused forward decl. | Eric Christopher | 2011-10-25 | 1 | -1/+0 |
| | | | | llvm-svn: 142892 | ||||
* | Missed a spot! | Nick Lewycky | 2011-10-18 | 1 | -1/+1 |
| | | | | llvm-svn: 142436 | ||||
* | Fix some typo/formatting issues. No functionality change. | Nick Lewycky | 2011-10-18 | 1 | -8/+8 |
| | | | | llvm-svn: 142435 | ||||
* | Add support for a new extension to the .file directive: | Nick Lewycky | 2011-10-17 | 1 | -3/+4 |
| | | | | | | | | | | .file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. llvm-svn: 142300 | ||||
* | Eliminate unnecessary forwarding function. | Devang Patel | 2011-08-18 | 1 | -3/+0 |
| | | | | llvm-svn: 138006 | ||||
* | Until now all debug info MDNodes referred to a root MDNode, a compile unit. ↵ | Devang Patel | 2011-08-16 | 1 | -4/+6 |
| | | | | | | | | This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL. MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up. llvm-svn: 137778 | ||||
* | Refactor. | Devang Patel | 2011-08-15 | 1 | -0/+8 |
| | | | | llvm-svn: 137689 | ||||
* | Continue to hoist uses of getCompileUnit() up. The goal is to get rid of ↵ | Devang Patel | 2011-08-15 | 1 | -2/+2 |
| | | | | | | uses of getCompileUnit(). llvm-svn: 137683 | ||||
* | This is somewhat déjà-vu, but avoid using getCompileUnit() as much as ↵ | Devang Patel | 2011-08-15 | 1 | -3/+3 |
| | | | | | | possible. llvm-svn: 137668 | ||||
* | Refactor. Variables are part of compile unit so let CompileUnit create new ↵ | Devang Patel | 2011-08-15 | 1 | -1/+1 |
| | | | | | | variable. llvm-svn: 137663 | ||||
* | There is no need to maintain a set to keep track of variables that use ↵ | Devang Patel | 2011-08-15 | 1 | -4/+0 |
| | | | | | | location expressions. In such cases, AT_location attribute's value will be a label. llvm-svn: 137659 | ||||
* | Fix warning. | Devang Patel | 2011-08-15 | 1 | -1/+1 |
| | | | | llvm-svn: 137658 | ||||
* | Simplify. Let DbgVariable keep track of variable's DBG_VALUE machine ↵ | Devang Patel | 2011-08-15 | 1 | -16/+8 |
| | | | | | | instruction. llvm-svn: 137656 | ||||
* | Simplify mapping to variable from its abstract variable info. | Devang Patel | 2011-08-15 | 1 | -5/+4 |
| | | | | | | When a variable is inlined multiple places, abstract variable keeps name, location, type etc.. info and all other concreate instances of the variable directly refers to abstract variable. llvm-svn: 137637 | ||||
* | Refactor. | Devang Patel | 2011-08-15 | 1 | -0/+9 |
| | | | | llvm-svn: 137632 | ||||
* | Refactor. | Devang Patel | 2011-08-15 | 1 | -1/+7 |
| | | | | llvm-svn: 137631 | ||||
* | Refactor. A subprogram is part of compile unit so let CompileUnit construct ↵ | Devang Patel | 2011-08-15 | 1 | -5/+0 |
| | | | | | | new subprogram. llvm-svn: 137618 | ||||
* | Start using LexicalScopes utility. No intetional functionality change. | Devang Patel | 2011-08-10 | 1 | -38/+12 |
| | | | | llvm-svn: 137246 | ||||
* | Refactor. | Devang Patel | 2011-07-20 | 1 | -1/+2 |
| | | | | llvm-svn: 135633 | ||||
* | Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for | Evan Cheng | 2011-07-18 | 1 | -1/+1 |
| | | | | | | better location welcome). llvm-svn: 135438 | ||||
* | Use DebugLoc directly to map inlined functions' instructions to respective ↵ | Devang Patel | 2011-07-15 | 1 | -1/+3 |
| | | | | | | lexical scope. llvm-svn: 135302 | ||||
* | Eliminate redundant map. | Devang Patel | 2011-07-15 | 1 | -4/+0 |
| | | | | llvm-svn: 135278 | ||||
* | Refactor. | Devang Patel | 2011-07-14 | 1 | -3/+2 |
| | | | | llvm-svn: 135212 | ||||
* | Eliminate redundant LLVMContext argument. | Devang Patel | 2011-07-14 | 1 | -1/+1 |
| | | | | | | Improve DbgScope->dump() output. llvm-svn: 135207 | ||||
* | Simplify and delay extracting DebugLoc elements, scope and InlinedAt, as ↵ | Devang Patel | 2011-07-14 | 1 | -1/+1 |
| | | | | | | much as possible. llvm-svn: 135124 | ||||
* | Make provision to have floating point constants in .debug_loc expressions. | Devang Patel | 2011-07-08 | 1 | -6/+29 |
| | | | | llvm-svn: 134702 | ||||
* | Do not drop constant values when a variable's content is described using ↵ | Devang Patel | 2011-06-01 | 1 | -2/+13 |
| | | | | | | .debug_loc entries. llvm-svn: 132427 | ||||
* | Identify end of prologue (and beginning of function body) using ↵ | Devang Patel | 2011-05-11 | 1 | -1/+6 |
| | | | | | | DW_LNS_set_prologue_end line table opcode. llvm-svn: 131194 | ||||
* | Dead code elimination. | Rafael Espindola | 2011-05-06 | 1 | -9/+1 |
| | | | | llvm-svn: 130984 |