summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename the 'Attributes' class to 'Attribute'. It's going to represent a ↵Bill Wendling2012-12-191-1/+1
| | | | | | single attribute in the future. llvm-svn: 170502
* Declare class DwarfDebug before use instead of relying on a forward declarationDmitri Gribenko2012-12-161-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 Christopher2012-12-151-6/+8
| | | | | | Make emitDIE public accordingly. No functional change. llvm-svn: 170258
* Update some comments.Eric Christopher2012-12-111-2/+2
| | | | llvm-svn: 169907
* Refactor out the abbreviation handling into a separate class thatEric Christopher2012-12-101-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 Christopher2012-12-101-3/+5
| | | | llvm-svn: 169780
* Use the somewhat semantic term "split dwarf" it more matches what'sEric Christopher2012-12-101-9/+10
| | | | | | going on and makes a lot of the terminology in comments make more sense. llvm-svn: 169758
* Reorder fission variables.Eric Christopher2012-12-101-3/+9
| | | | llvm-svn: 169756
* Sort includes for all of the .h files under the 'lib' tree. These wereChandler Carruth2012-12-041-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 Bendersky2012-12-031-0/+3
| | | | | | Thanks Eric for the review. llvm-svn: 169142
* Add some first skeleton work for the DWARF5 Fission proposal. EmitEric Christopher2012-11-301-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 Christopher2012-11-291-0/+2
| | | | llvm-svn: 168952
* Attempt to make the comments for dwarf debug look more likeEric Christopher2012-11-271-158/+111
| | | | | | the coding standard would like. llvm-svn: 168737
* Make comment names match function names.Eric Christopher2012-11-271-3/+3
| | | | llvm-svn: 168644
* Pull some code out into functions to make rearranging them a bit easier.Eric Christopher2012-11-221-0/+15
| | | | llvm-svn: 168481
* Update for some of the coding standard before rearranging functionsEric Christopher2012-11-211-10/+10
| | | | | | around. llvm-svn: 168401
* Update some comments.Eric Christopher2012-11-211-1/+2
| | | | llvm-svn: 168400
* Update and add some comments.Eric Christopher2012-11-211-0/+8
| | | | llvm-svn: 168399
* Whitespace.Eric Christopher2012-11-211-26/+26
| | | | llvm-svn: 168398
* Remove constness from this, it modifies the output stream as doesEric Christopher2012-11-201-1/+1
| | | | | | everything else underneath. llvm-svn: 168395
* Remove unused function argument, add a bit to the comment.Eric Christopher2012-11-201-2/+3
| | | | llvm-svn: 168387
* Remove a function argument and propagate const around accordingly.Eric Christopher2012-11-191-3/+3
| | | | llvm-svn: 168338
* Add an option to enable prototype "fission" capabilities and debug changes.Eric Christopher2012-11-121-0/+2
| | | | llvm-svn: 167765
* Replace some instances of UniqueVector with SetVector, which is slightly ↵Benjamin Kramer2012-10-311-2/+2
| | | | | | | | cheaper. No functionality change. llvm-svn: 167116
* Have the DbgVariable "isArtificial" and "isObjectPointer" notEric Christopher2012-09-211-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 Christopher2012-09-121-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 Christopher2012-09-121-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 Christopher2012-09-121-0/+10
| | | | | | Part of rdar://9797999 llvm-svn: 163667
* 80-col fixup.Eric Christopher2012-09-101-1/+2
| | | | llvm-svn: 163569
* Turn these two options in to trinary state so that they can beEric Christopher2012-08-231-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 notEric Christopher2012-08-231-0/+7
| | | | | | we're using the darwin old gdb compat mode for emitting dwarf. llvm-svn: 162486
* Temporarily revert c23b933d5f8be9b51a1d22e717c0311f65f87dcd. It's causingEric Christopher2012-08-011-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. UpdateEric Christopher2012-07-271-0/+3
| | | | | | | | | | all tests accordingly. Fixes PR13351. Patch by shinichiro hamaji! llvm-svn: 160899
* Cleanup in DwarfDebug - fix a typo and remove two unused functionsAlexey Samsonov2012-06-291-7/+1
| | | | llvm-svn: 159433
* Move lib/Analysis/DebugInfo.cpp to lib/VMCore/DebugInfo.cpp andBill Wendling2012-06-281-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 Kramer2012-06-091-5/+5
| | | | | | BumpPtrAllocator. llvm-svn: 158265
* DwarfDebug: Store the filename/dirname pair as a zero-separated string in a ↵Benjamin Kramer2012-03-111-4/+3
| | | | | | stringmap, instead of using a highly inefficient std::map of a pair of std::strings. llvm-svn: 152541
* Grammar.Eric Christopher2012-03-021-1/+1
| | | | llvm-svn: 151874
* tidy up forward declarations.Chris Lattner2012-01-261-0/+2
| | | | llvm-svn: 149078
* Remove the pubnames section, no one consumes it.Eric Christopher2011-11-091-4/+1
| | | | llvm-svn: 144169
* Remove unnecessary addition to API. Replace with something much simpler.Eric Christopher2011-11-071-4/+0
| | | | llvm-svn: 143925
* Add the support code to enable the dwarf accelerator tables. Upcoming patchesEric Christopher2011-11-071-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 Christopher2011-11-071-0/+4
| | | | llvm-svn: 143920
* Don't emit a directory entry for the value in DW_AT_comp_dir, that is alwaysNick Lewycky2011-11-021-0/+4
| | | | | | implied by directory index zero. llvm-svn: 143570
* Teach our Dwarf emission to use the string pool.Nick Lewycky2011-10-271-2/+7
| | | | llvm-svn: 143097
* Remove unused forward decl.Eric Christopher2011-10-251-1/+0
| | | | llvm-svn: 142892
* Missed a spot!Nick Lewycky2011-10-181-1/+1
| | | | llvm-svn: 142436
* Fix some typo/formatting issues. No functionality change.Nick Lewycky2011-10-181-8/+8
| | | | llvm-svn: 142435
* Add support for a new extension to the .file directive:Nick Lewycky2011-10-171-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 Patel2011-08-181-3/+0
| | | | llvm-svn: 138006
OpenPOWER on IntegriCloud