Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the 'Attributes' class to 'Attribute'. It's going to represent a ↵ | Bill Wendling | 2012-12-19 | 1 | -1/+1 |
| | | | | | | single attribute in the future. llvm-svn: 170502 | ||||
* | Declare class DwarfDebug before use instead of relying on a forward declaration | Dmitri Gribenko | 2012-12-16 | 1 | -0/+1 |
| | | | | | | | | from some other unrelated header. Patch by Kai. llvm-svn: 170284 | ||||
* | To simplify some code move the unit emission into the holders. | Eric Christopher | 2012-12-15 | 1 | -6/+8 |
| | | | | | | Make emitDIE public accordingly. No functional change. llvm-svn: 170258 | ||||
* | Update some comments. | Eric Christopher | 2012-12-11 | 1 | -2/+2 |
| | | | | llvm-svn: 169907 | ||||
* | Refactor out the abbreviation handling into a separate class that | Eric Christopher | 2012-12-10 | 1 | -3/+37 |
| | | | | | | | | | | | | controls each of the abbreviation sets (only a single one at the moment) and computes offsets separately as well for each set of DIEs. No real function change, ordering of abbreviations for the skeleton CU changed but only because we're computing in a separate order. Fix the testcase not to care. llvm-svn: 169793 | ||||
* | Rearrange vars and make comments more obvious. | Eric Christopher | 2012-12-10 | 1 | -3/+5 |
| | | | | llvm-svn: 169780 | ||||
* | Use the somewhat semantic term "split dwarf" it more matches what's | Eric Christopher | 2012-12-10 | 1 | -9/+10 |
| | | | | | | going on and makes a lot of the terminology in comments make more sense. llvm-svn: 169758 | ||||
* | Reorder fission variables. | Eric Christopher | 2012-12-10 | 1 | -3/+9 |
| | | | | llvm-svn: 169756 | ||||
* | Sort includes for all of the .h files under the 'lib' tree. These were | Chandler Carruth | 2012-12-04 | 1 | -4/+4 |
| | | | | | | | | | | missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] llvm-svn: 169224 | ||||
* | Fix PR12942: Allow two CUs to be generated from the same source file. | Eli Bendersky | 2012-12-03 | 1 | -0/+3 |
| | | | | | | Thanks Eric for the review. llvm-svn: 169142 | ||||
* | Add some first skeleton work for the DWARF5 Fission proposal. Emit | Eric Christopher | 2012-11-30 | 1 | -0/+17 |
| | | | | | | | | | part of the compile unit CU and start separating out information into the various sections that will be pulled out later. WIP. llvm-svn: 169061 | ||||
* | More comment. | Eric Christopher | 2012-11-29 | 1 | -0/+2 |
| | | | | llvm-svn: 168952 | ||||
* | Attempt to make the comments for dwarf debug look more like | Eric Christopher | 2012-11-27 | 1 | -158/+111 |
| | | | | | | the coding standard would like. llvm-svn: 168737 | ||||
* | Make comment names match function names. | Eric Christopher | 2012-11-27 | 1 | -3/+3 |
| | | | | llvm-svn: 168644 | ||||
* | Pull some code out into functions to make rearranging them a bit easier. | Eric Christopher | 2012-11-22 | 1 | -0/+15 |
| | | | | llvm-svn: 168481 | ||||
* | Update for some of the coding standard before rearranging functions | Eric Christopher | 2012-11-21 | 1 | -10/+10 |
| | | | | | | around. llvm-svn: 168401 | ||||
* | Update some comments. | Eric Christopher | 2012-11-21 | 1 | -1/+2 |
| | | | | llvm-svn: 168400 | ||||
* | Update and add some comments. | Eric Christopher | 2012-11-21 | 1 | -0/+8 |
| | | | | llvm-svn: 168399 | ||||
* | Whitespace. | Eric Christopher | 2012-11-21 | 1 | -26/+26 |
| | | | | llvm-svn: 168398 | ||||
* | Remove constness from this, it modifies the output stream as does | Eric Christopher | 2012-11-20 | 1 | -1/+1 |
| | | | | | | everything else underneath. llvm-svn: 168395 | ||||
* | Remove unused function argument, add a bit to the comment. | Eric Christopher | 2012-11-20 | 1 | -2/+3 |
| | | | | llvm-svn: 168387 | ||||
* | Remove a function argument and propagate const around accordingly. | Eric Christopher | 2012-11-19 | 1 | -3/+3 |
| | | | | llvm-svn: 168338 | ||||
* | Add an option to enable prototype "fission" capabilities and debug changes. | Eric Christopher | 2012-11-12 | 1 | -0/+2 |
| | | | | llvm-svn: 167765 | ||||
* | Replace some instances of UniqueVector with SetVector, which is slightly ↵ | Benjamin Kramer | 2012-10-31 | 1 | -2/+2 |
| | | | | | | | | cheaper. No functionality change. llvm-svn: 167116 | ||||
* | 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 |