summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Until now all debug info MDNodes referred to a root MDNode, a compile unit. ↵Devang Patel2011-08-161-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 Patel2011-08-151-0/+8
| | | | llvm-svn: 137689
* Continue to hoist uses of getCompileUnit() up. The goal is to get rid of ↵Devang Patel2011-08-151-2/+2
| | | | | | uses of getCompileUnit(). llvm-svn: 137683
* This is somewhat déjà-vu, but avoid using getCompileUnit() as much as ↵Devang Patel2011-08-151-3/+3
| | | | | | possible. llvm-svn: 137668
* Refactor. Variables are part of compile unit so let CompileUnit create new ↵Devang Patel2011-08-151-1/+1
| | | | | | variable. llvm-svn: 137663
* There is no need to maintain a set to keep track of variables that use ↵Devang Patel2011-08-151-4/+0
| | | | | | location expressions. In such cases, AT_location attribute's value will be a label. llvm-svn: 137659
* Fix warning.Devang Patel2011-08-151-1/+1
| | | | llvm-svn: 137658
* Simplify. Let DbgVariable keep track of variable's DBG_VALUE machine ↵Devang Patel2011-08-151-16/+8
| | | | | | instruction. llvm-svn: 137656
* Simplify mapping to variable from its abstract variable info.Devang Patel2011-08-151-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 Patel2011-08-151-0/+9
| | | | llvm-svn: 137632
* Refactor.Devang Patel2011-08-151-1/+7
| | | | llvm-svn: 137631
* Refactor. A subprogram is part of compile unit so let CompileUnit construct ↵Devang Patel2011-08-151-5/+0
| | | | | | new subprogram. llvm-svn: 137618
* Start using LexicalScopes utility. No intetional functionality change.Devang Patel2011-08-101-38/+12
| | | | llvm-svn: 137246
* Refactor.Devang Patel2011-07-201-1/+2
| | | | llvm-svn: 135633
* Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions forEvan Cheng2011-07-181-1/+1
| | | | | | better location welcome). llvm-svn: 135438
* Use DebugLoc directly to map inlined functions' instructions to respective ↵Devang Patel2011-07-151-1/+3
| | | | | | lexical scope. llvm-svn: 135302
* Eliminate redundant map.Devang Patel2011-07-151-4/+0
| | | | llvm-svn: 135278
* Refactor.Devang Patel2011-07-141-3/+2
| | | | llvm-svn: 135212
* Eliminate redundant LLVMContext argument.Devang Patel2011-07-141-1/+1
| | | | | | Improve DbgScope->dump() output. llvm-svn: 135207
* Simplify and delay extracting DebugLoc elements, scope and InlinedAt, as ↵Devang Patel2011-07-141-1/+1
| | | | | | much as possible. llvm-svn: 135124
* Make provision to have floating point constants in .debug_loc expressions.Devang Patel2011-07-081-6/+29
| | | | llvm-svn: 134702
* Do not drop constant values when a variable's content is described using ↵Devang Patel2011-06-011-2/+13
| | | | | | .debug_loc entries. llvm-svn: 132427
* Identify end of prologue (and beginning of function body) using ↵Devang Patel2011-05-111-1/+6
| | | | | | DW_LNS_set_prologue_end line table opcode. llvm-svn: 131194
* Dead code elimination.Rafael Espindola2011-05-061-9/+1
| | | | llvm-svn: 130984
OpenPOWER on IntegriCloud