summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Let FE use derived types for DW_TAG_friend.Devang Patel2010-08-231-0/+1
| | | | | | Patch by Alexander Herz! llvm-svn: 111861
* Handle qualified constants that are directly folded by FE.Devang Patel2010-08-231-0/+10
| | | | | | PR 7920. llvm-svn: 111820
* CreateTemporaryType doesn't needs its Context argument.Dan Gohman2010-08-201-1/+1
| | | | llvm-svn: 111687
* Introduce a new temporary MDNode concept. Temporary MDNodes areDan Gohman2010-08-201-1/+15
| | | | | | | | not part of the IR, are not uniqued, and may be safely RAUW'd. This replaces a variety of alternate mechanisms for achieving the same effect. llvm-svn: 111681
* Even if a variable has constant value all the time, it is still a variable ↵Devang Patel2010-08-111-1/+1
| | | | | | | | in gdb's eyes. Tested by scope.exp in gdb testsuite. llvm-svn: 110876
* Add missing argument. CreateCompositeTypeEx() users, please verify.Devang Patel2010-08-101-4/+5
| | | | llvm-svn: 110717
* Do not forget debug info for enums. Use named mdnode to keep track of these ↵Devang Patel2010-08-101-2/+15
| | | | | | types. llvm-svn: 110712
* Handle TAG_constant for integers.Devang Patel2010-08-101-2/+3
| | | | llvm-svn: 110656
* Refactor.Devang Patel2010-08-091-1/+42
| | | | llvm-svn: 110607
* Add explicit constructors. Patch by Renato Golin.Devang Patel2010-08-021-0/+15
| | | | llvm-svn: 110072
* Make NamedMDNode not be a subclass of Value, and simplify the interfaceDan Gohman2010-07-211-5/+5
| | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061
* tidy up.Jim Grosbach2010-07-211-26/+27
| | | | llvm-svn: 109038
* Disallow null as a named metadata operand.Dan Gohman2010-07-211-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 Hastings2010-07-191-3/+8
| | | | llvm-svn: 108784
* Reverting r107918 and r107919. Radar 8063111.Stuart Hastings2010-07-081-8/+3
| | | | llvm-svn: 107930
* Fix decl/def debug info for template functions. Radar 8063111.Stuart Hastings2010-07-081-3/+8
| | | | llvm-svn: 107919
* Use named MDNode, llvm.dbg.sp, to collect subprogram info. This will be used ↵Devang Patel2010-06-281-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 Patel2010-06-271-1/+2
| | | | | | MDNode from subprogram declare MDNode. llvm-svn: 106985
* Use single interface, using twine, to get named metadata.Devang Patel2010-06-221-2/+1
| | | | | | getNamedMetadata(). llvm-svn: 106518
* Do not rely on Twine temporaries to survive.Devang Patel2010-06-221-4/+4
| | | | llvm-svn: 106515
* Do not directly use function names to construct new name for named metadata.Devang Patel2010-06-211-1/+8
| | | | | | "llvm.dbg.lv.~A" is not a valid name. llvm-svn: 106438
* Check function pointer first, before comparing function names.Devang Patel2010-06-161-0/+2
| | | | llvm-svn: 106088
* Use separate named MDNode to hold each function's local variable info.Devang Patel2010-06-161-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 Hastings2010-06-111-3/+14
| | | | llvm-svn: 105828
* Delete duplicate function.Stuart Hastings2010-06-111-12/+0
| | | | llvm-svn: 105827
* Revert 105492 & 105493 due to a testcase regression. Radar 7424645.Stuart Hastings2010-06-051-18/+18
| | | | llvm-svn: 105511
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-06-041-18/+18
| | | | llvm-svn: 105492
* Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645.Stuart Hastings2010-05-281-0/+12
| | | | llvm-svn: 104953
* Support for nested functions/classes in debug output. Radar 7424645.Stuart Hastings2010-05-271-12/+0
| | | | llvm-svn: 104841
* Rename variable. add comment.Devang Patel2010-05-201-2/+5
| | | | llvm-svn: 104274
* Add support to preserve type info for the variables that are removed by the ↵Devang Patel2010-05-141-2/+7
| | | | | | optimizer. llvm-svn: 103798
* Fix whitespace in debug output to be consistent.Dan Gohman2010-05-101-1/+1
| | | | llvm-svn: 103422
* Remove DIGlobal.Devang Patel2010-05-071-20/+8
| | | | llvm-svn: 103325
* Add DINameSpace::Verify().Devang Patel2010-05-071-0/+11
| | | | llvm-svn: 103318
* Verify variable directly.Devang Patel2010-05-071-36/+0
| | | | llvm-svn: 103305
* Verify compile unit also.Devang Patel2010-05-071-0/+3
| | | | llvm-svn: 103300
* Wrap const MDNode * inside DIDescriptor.Devang Patel2010-05-071-10/+12
| | | | llvm-svn: 103295
* Use overloaded operators instead of DIDescriptor::getNode()Devang Patel2010-05-071-1/+1
| | | | llvm-svn: 103276
* Avoid DIDescriptor::getNode(). Use overloaded operators instead.Devang Patel2010-05-071-83/+83
| | | | llvm-svn: 103272
* Add some words to this output to indicate what the numbers mean.Dan Gohman2010-05-071-4/+4
| | | | llvm-svn: 103264
* Fix the new print functions to call print instead of dump.Dan Gohman2010-05-071-11/+11
| | | | llvm-svn: 103261
* Convert the DebugInfo classes dump() methods into print(raw_ostream &)Dan Gohman2010-05-071-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 Patel2010-05-041-3/+1
| | | | | | debug info used by a module. llvm-svn: 102995
* Attach AT_APPLE_optimized attribute to optimized function's debug info.Devang Patel2010-04-301-5/+15
| | | | llvm-svn: 102743
* Refactor.Devang Patel2010-04-291-0/+11
| | | | llvm-svn: 102661
* DebugInfoFinder::processModule was foiling my plot byChris Lattner2010-04-021-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 DebugLocChris Lattner2010-04-021-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 Lattner2010-03-311-3/+2
| | | | | | consistent with other similar ones. llvm-svn: 99997
* Start using DIFile. See updated SourceLevelDebugging.html for more information.Devang Patel2010-03-091-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 Patel2010-03-081-0/+23
| | | | | | file(s) in debug info. llvm-svn: 97994
OpenPOWER on IntegriCloud