Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add explicit constructors. Patch by Renato Golin. | Devang Patel | 2010-08-02 | 1 | -0/+15 |
| | | | | llvm-svn: 110072 | ||||
* | Make NamedMDNode not be a subclass of Value, and simplify the interface | Dan Gohman | 2010-07-21 | 1 | -5/+5 |
| | | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061 | ||||
* | tidy up. | Jim Grosbach | 2010-07-21 | 1 | -26/+27 |
| | | | | llvm-svn: 109038 | ||||
* | Disallow null as a named metadata operand. | Dan Gohman | 2010-07-21 | 1 | -4/+2 |
| | | | | | | | | | | | Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028 | ||||
* | Correct line info for declarations/definitions. Radar 8063111. | Stuart Hastings | 2010-07-19 | 1 | -3/+8 |
| | | | | llvm-svn: 108784 | ||||
* | Reverting r107918 and r107919. Radar 8063111. | Stuart Hastings | 2010-07-08 | 1 | -8/+3 |
| | | | | llvm-svn: 107930 | ||||
* | Fix decl/def debug info for template functions. Radar 8063111. | Stuart Hastings | 2010-07-08 | 1 | -3/+8 |
| | | | | llvm-svn: 107919 | ||||
* | Use named MDNode, llvm.dbg.sp, to collect subprogram info. This will be used ↵ | Devang Patel | 2010-06-28 | 1 | -11/+23 |
| | | | | | | to emit local variable's debug info of deleted functions. llvm-svn: 106989 | ||||
* | Do not forget last element, function, while creating Subprogram definition ↵ | Devang Patel | 2010-06-27 | 1 | -1/+2 |
| | | | | | | MDNode from subprogram declare MDNode. llvm-svn: 106985 | ||||
* | Use single interface, using twine, to get named metadata. | Devang Patel | 2010-06-22 | 1 | -2/+1 |
| | | | | | | getNamedMetadata(). llvm-svn: 106518 | ||||
* | Do not rely on Twine temporaries to survive. | Devang Patel | 2010-06-22 | 1 | -4/+4 |
| | | | | llvm-svn: 106515 | ||||
* | Do not directly use function names to construct new name for named metadata. | Devang Patel | 2010-06-21 | 1 | -1/+8 |
| | | | | | | "llvm.dbg.lv.~A" is not a valid name. llvm-svn: 106438 | ||||
* | Check function pointer first, before comparing function names. | Devang Patel | 2010-06-16 | 1 | -0/+2 |
| | | | | llvm-svn: 106088 | ||||
* | Use separate named MDNode to hold each function's local variable info. | Devang Patel | 2010-06-16 | 1 | -2/+6 |
| | | | | | | This speeds up local variable handling in DwarfDebug. llvm-svn: 106075 | ||||
* | Support for nested functions/classes in debug output. (Again.) Radar 7424645. | Stuart Hastings | 2010-06-11 | 1 | -3/+14 |
| | | | | llvm-svn: 105828 | ||||
* | Delete duplicate function. | Stuart Hastings | 2010-06-11 | 1 | -12/+0 |
| | | | | llvm-svn: 105827 | ||||
* | Revert 105492 & 105493 due to a testcase regression. Radar 7424645. | Stuart Hastings | 2010-06-05 | 1 | -18/+18 |
| | | | | llvm-svn: 105511 | ||||
* | Support for nested functions/classes in debug output. Radar 7424645. | Stuart Hastings | 2010-06-04 | 1 | -18/+18 |
| | | | | llvm-svn: 105492 | ||||
* | Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645. | Stuart Hastings | 2010-05-28 | 1 | -0/+12 |
| | | | | llvm-svn: 104953 | ||||
* | Support for nested functions/classes in debug output. Radar 7424645. | Stuart Hastings | 2010-05-27 | 1 | -12/+0 |
| | | | | llvm-svn: 104841 | ||||
* | Rename variable. add comment. | Devang Patel | 2010-05-20 | 1 | -2/+5 |
| | | | | llvm-svn: 104274 | ||||
* | Add support to preserve type info for the variables that are removed by the ↵ | Devang Patel | 2010-05-14 | 1 | -2/+7 |
| | | | | | | optimizer. llvm-svn: 103798 | ||||
* | Fix whitespace in debug output to be consistent. | Dan Gohman | 2010-05-10 | 1 | -1/+1 |
| | | | | llvm-svn: 103422 | ||||
* | Remove DIGlobal. | Devang Patel | 2010-05-07 | 1 | -20/+8 |
| | | | | llvm-svn: 103325 | ||||
* | Add DINameSpace::Verify(). | Devang Patel | 2010-05-07 | 1 | -0/+11 |
| | | | | llvm-svn: 103318 | ||||
* | Verify variable directly. | Devang Patel | 2010-05-07 | 1 | -36/+0 |
| | | | | llvm-svn: 103305 | ||||
* | Verify compile unit also. | Devang Patel | 2010-05-07 | 1 | -0/+3 |
| | | | | llvm-svn: 103300 | ||||
* | Wrap const MDNode * inside DIDescriptor. | Devang Patel | 2010-05-07 | 1 | -10/+12 |
| | | | | llvm-svn: 103295 | ||||
* | Use overloaded operators instead of DIDescriptor::getNode() | Devang Patel | 2010-05-07 | 1 | -1/+1 |
| | | | | llvm-svn: 103276 | ||||
* | Avoid DIDescriptor::getNode(). Use overloaded operators instead. | Devang Patel | 2010-05-07 | 1 | -83/+83 |
| | | | | llvm-svn: 103272 | ||||
* | Add some words to this output to indicate what the numbers mean. | Dan Gohman | 2010-05-07 | 1 | -4/+4 |
| | | | | llvm-svn: 103264 | ||||
* | Fix the new print functions to call print instead of dump. | Dan Gohman | 2010-05-07 | 1 | -11/+11 |
| | | | | llvm-svn: 103261 | ||||
* | Convert the DebugInfo classes dump() methods into print(raw_ostream &) | Dan Gohman | 2010-05-07 | 1 | -52/+102 |
| | | | | | | methods, and add dump functions implemented in terms of the print. llvm-svn: 103254 | ||||
* | Do not ignore debug loc attached with llvm.dbg.declare while collecting ↵ | Devang Patel | 2010-05-04 | 1 | -3/+1 |
| | | | | | | debug info used by a module. llvm-svn: 102995 | ||||
* | Attach AT_APPLE_optimized attribute to optimized function's debug info. | Devang Patel | 2010-04-30 | 1 | -5/+15 |
| | | | | llvm-svn: 102743 | ||||
* | Refactor. | Devang Patel | 2010-04-29 | 1 | -0/+11 |
| | | | | llvm-svn: 102661 | ||||
* | DebugInfoFinder::processModule was foiling my plot by | Chris Lattner | 2010-04-02 | 1 | -5/+20 |
| | | | | | | | | | materializing an MDNode for every debugloc. don't do that! :) "clang -g -S t.c" really no longer makes mdnodes for location tuples now. llvm-svn: 100224 | ||||
* | Switch the code generator (except the JIT) onto the new DebugLoc | Chris Lattner | 2010-04-02 | 1 | -18/+0 |
| | | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209 | ||||
* | microoptimize this hot method, also making it more | Chris Lattner | 2010-03-31 | 1 | -3/+2 |
| | | | | | | consistent with other similar ones. llvm-svn: 99997 | ||||
* | Start using DIFile. See updated SourceLevelDebugging.html for more information. | Devang Patel | 2010-03-09 | 1 | -24/+25 |
| | | | | | | | | | This patch updates LLVMDebugVersion to 8. Debug info descriptors encoded using LLVMDebugVersion 7 is supported. Corresponding llvmgcc and clang FE commits are required. llvm-svn: 98020 | ||||
* | Introduce DIFile. This will be used to represent header files and source ↵ | Devang Patel | 2010-03-08 | 1 | -0/+23 |
| | | | | | | file(s) in debug info. llvm-svn: 97994 | ||||
* | Derive DIType from DIScope. This simplifies getContext() where for members ↵ | Devang Patel | 2010-03-08 | 1 | -1/+9 |
| | | | | | | the context is a type. This also eliminates need of CompileUnitMaps maintained by dwarf writer. llvm-svn: 97990 | ||||
* | Remove DbgNode checks in constructor. Debug descriptors are intended to be ↵ | Devang Patel | 2010-03-08 | 1 | -9/+0 |
| | | | | | | light weight wrappers. llvm-svn: 97988 | ||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -81/+64 |
| | | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975 | ||||
* | Revert r97947. | Devang Patel | 2010-03-08 | 1 | -64/+81 |
| | | | | llvm-svn: 97963 | ||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -81/+64 |
| | | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947 | ||||
* | Use line and column number to distinguish two lexical blocks at the same level. | Devang Patel | 2010-02-16 | 1 | -3/+6 |
| | | | | llvm-svn: 96395 | ||||
* | Set DW_AT_artificial only if argument is marked as artificial. | Devang Patel | 2010-02-06 | 1 | -0/+23 |
| | | | | llvm-svn: 95461 | ||||
* | Provide interface to identifiy artificial methods. | Devang Patel | 2010-02-03 | 1 | -5/+8 |
| | | | | llvm-svn: 95240 | ||||
* | Before inserting llvm.dbg.declare intrinsic at the end of a basic block, ↵ | Devang Patel | 2010-01-29 | 1 | -2/+7 |
| | | | | | | | | check whether the basic block has a terminator or not. This API is used by clang and the test case is test/CodeGen/debug-info-crash.c in clang module. llvm-svn: 94820 |