summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Ignore empty blocks.Devang Patel2010-10-281-1/+1
| | | | llvm-svn: 117615
* Do not work too hard to find type's file info. There is a special field to ↵Devang Patel2010-10-281-2/+2
| | | | | | record file info. llvm-svn: 117588
* Technically DIFile scope should also be handled here.Devang Patel2010-10-281-0/+4
| | | | llvm-svn: 117563
* s/beginScope/beginInstruction/gDevang Patel2010-10-261-4/+4
| | | | | | s/endScope/endInstruction/g llvm-svn: 117376
* For statistics that are only used in functions declared in !NDEBUG, wrap theNick Lewycky2010-10-261-0/+2
| | | | | | | declarations in !NDEBUG to avoid -Wunused-variable warnings. Patch by Matt Beaumont-Gay! llvm-svn: 117345
* Add simple counter to count no. of basic blocks without any line number ↵Devang Patel2010-10-251-0/+28
| | | | | | information. At -O0, these basic block coule cause less than optimial debugging experience. llvm-svn: 117307
* Line number 0 indicates there is no source line/file name info available for ↵Devang Patel2010-10-081-1/+7
| | | | | | this construct. llvm-svn: 116061
* Provie a clearner interface so that FE can decide whether a function has ↵Devang Patel2010-10-071-6/+1
| | | | | | prototype or not. llvm-svn: 115988
* Add support for DW_TAG_unspecified_parameters.Devang Patel2010-10-061-6/+15
| | | | llvm-svn: 115833
* Add support to let FE mark explict methods as explict in debug info.Devang Patel2010-10-011-0/+2
| | | | llvm-svn: 115378
* Let FE mark a variable as artificial variable.Devang Patel2010-09-291-0/+2
| | | | llvm-svn: 115102
* Add support to let FE encode method access specifier.Devang Patel2010-09-291-1/+12
| | | | llvm-svn: 115089
* Assign DW_ACCESS_public accessibility attribute to members by default.Devang Patel2010-09-291-1/+10
| | | | llvm-svn: 115067
* Provide an interface to let FEs anchor debug info for types.Devang Patel2010-09-281-0/+4
| | | | llvm-svn: 114969
* Remove dead argument.Devang Patel2010-09-271-4/+3
| | | | llvm-svn: 114920
* Use DW_OP_fbreg when offset is based on frame register.Devang Patel2010-09-221-0/+10
| | | | llvm-svn: 114585
* If FE forgot to provide a file name (usually it uses "stdin" as name in such ↵Devang Patel2010-09-161-0/+4
| | | | | | situation) then make one up to ensure that debug info is not malformed. llvm-svn: 114119
* Fix .debug_range for linux. Patch by Krister Wombell.Devang Patel2010-09-021-4/+11
| | | | llvm-svn: 112830
* Use absolute label for DW_AT_stmt_list if a target does not prefer offset here.Devang Patel2010-08-311-1/+5
| | | | | | This patch was developed on top of original patch by Artur Pietrek. llvm-svn: 112678
* Reapply r112623. Included additional check for unused byval argument.Devang Patel2010-08-311-3/+10
| | | | llvm-svn: 112659
* Revert r112623. It is causing self host build failures.Devang Patel2010-08-311-10/+3
| | | | llvm-svn: 112631
* Remember byval argument's frame index during argument lowering and use this ↵Devang Patel2010-08-311-3/+10
| | | | | | | | info to emit debug info. Fixes Radar 8367011. llvm-svn: 112623
* Simplify.Devang Patel2010-08-311-12/+12
| | | | llvm-svn: 112583
* Revert r107202. It is not adding any value.Devang Patel2010-08-241-16/+6
| | | | llvm-svn: 111870
* Handle qualified constants that are directly folded by FE.Devang Patel2010-08-231-6/+16
| | | | | | PR 7920. llvm-svn: 111820
* Do not forget debug info for enums. Use named mdnode to keep track of these ↵Devang Patel2010-08-101-0/+5
| | | | | | types. llvm-svn: 110712
* Handle TAG_constant for integers.Devang Patel2010-08-101-20/+37
| | | | llvm-svn: 110656
* Simplify.Devang Patel2010-08-101-2/+2
| | | | llvm-svn: 110653
* Drop "const". It does not add value here.Devang Patel2010-08-101-5/+5
| | | | llvm-svn: 110652
* Do not include file static variable in pubnames list.Devang Patel2010-08-101-51/+38
| | | | | | Refactor and simplify code to avoid redundant checks. llvm-svn: 110642
* Undo accidental commit.Devang Patel2010-08-091-38/+51
| | | | llvm-svn: 110623
* Simplify. Avoid redundant checks.Devang Patel2010-08-091-51/+38
| | | | llvm-svn: 110621
* Refactor.Devang Patel2010-08-091-9/+5
| | | | llvm-svn: 110607
* Refactoring. Update DbgVarible to handle queries itself.Devang Patel2010-08-091-76/+89
| | | | llvm-svn: 110600
* It is ok, and convenient, to pass descriptors by value.Devang Patel2010-08-091-36/+36
| | | | llvm-svn: 110590
* Rename a method.Devang Patel2010-08-091-3/+3
| | | | llvm-svn: 110586
* Use location entry only of the location described by DBG_VALUE is valid.Devang Patel2010-08-041-3/+6
| | | | llvm-svn: 110255
* Fix typo in comment.Devang Patel2010-08-041-1/+1
| | | | llvm-svn: 110244
* If a variable is spilled by code generator then use DW_OP_fbreg to describe ↵Devang Patel2010-08-041-10/+35
| | | | | | its location on stack. llvm-svn: 110234
* Free DbgScope created for dead functions.Devang Patel2010-08-021-0/+4
| | | | llvm-svn: 110045
* It is FE's responsibility to emit proper directory name.Devang Patel2010-07-271-4/+1
| | | | llvm-svn: 109538
* Use current working directory when Dirname is empty. This only happens when ↵Devang Patel2010-07-241-0/+5
| | | | | | absolute source file path is used on compiler command line. llvm-svn: 109302
* Revert r109262.Devang Patel2010-07-231-5/+0
| | | | llvm-svn: 109285
* IF directory name is empty then try to extract one using absolute file name.Devang Patel2010-07-231-0/+5
| | | | llvm-svn: 109262
* For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumbJim Grosbach2010-07-211-0/+4
| | | | | | rdar://8202967 llvm-svn: 109057
* 80 column and trailing whitespace cleanupJim Grosbach2010-07-211-171/+173
| | | | llvm-svn: 109037
* Disallow null as a named metadata operand.Dan Gohman2010-07-211-2/+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-11/+4
| | | | llvm-svn: 108784
* Fix PR 7662.Devang Patel2010-07-191-0/+1
| | | | | | Do not try to insert local variable info to a DIE used for function declaration. llvm-svn: 108731
* Reverting r107918 and r107919. Radar 8063111.Stuart Hastings2010-07-081-4/+11
| | | | llvm-svn: 107930
OpenPOWER on IntegriCloud