summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Comment change made in r169304 as requested by Eric Christopher.David Blaikie2012-12-041-0/+2
| | | | llvm-svn: 169315
* Reapply r160148 (reverted in r163570) fixing spurious breakpoints in modern GDBDavid Blaikie2012-12-041-1/+1
| | | | | | | | | | | | | | | | | This reapplies the fix for PR13303 now with more justification. Based on my execution of the GDB 7.5 test suite this results in: expected passes: 16101 -> 20890 (+30%) unexpected failures: 4826 -> 637 (-77%) There are 23 checks that used to pass and now fail. They are all in gdb.reverse. Investigating a few looks like they were accidentally passing due to extra breakpoints being set by this bug. They're generally due to the difference in end location between gcc and clang, the test suite is trying to set breakpoints on the closing '}' that clang doesn't associate with any instructions. llvm-svn: 169304
* Fix PR12942: Allow two CUs to be generated from the same source file.Eli Bendersky2012-12-031-18/+24
| | | | | | Thanks Eric for the review. llvm-svn: 169142
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-16/+16
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* Add some first skeleton work for the DWARF5 Fission proposal. EmitEric Christopher2012-11-301-8/+102
| | | | | | | | | 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
* Attempt to make the comments for dwarf debug look more likeEric Christopher2012-11-271-116/+89
| | | | | | the coding standard would like. llvm-svn: 168737
* Reapply section moving, make sure string section is output last.Eric Christopher2012-11-271-24/+54
| | | | llvm-svn: 168736
* Revert rearrangement of debug info sections to unblock the botsEric Christopher2012-11-271-59/+26
| | | | | | and O0 + debug codegen. llvm-svn: 168680
* Add in sections for the fission case (no change so incorrect) andEric Christopher2012-11-271-1/+32
| | | | | | add a TODO for starting. llvm-svn: 168643
* Reorder section output ordering.Eric Christopher2012-11-271-25/+27
| | | | llvm-svn: 168638
* Whitespace cleanup.Eric Christopher2012-11-271-27/+27
| | | | llvm-svn: 168637
* Pull some code out into functions to make rearranging them a bit easier.Eric Christopher2012-11-221-46/+68
| | | | llvm-svn: 168481
* Update for some of the coding standard before rearranging functionsEric Christopher2012-11-211-37/+37
| | | | | | around. llvm-svn: 168401
* 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-3/+3
| | | | llvm-svn: 168387
* Remove a function argument and propagate const around accordingly.Eric Christopher2012-11-191-4/+8
| | | | llvm-svn: 168338
* Whitespace and 80-col.Eric Christopher2012-11-191-49/+49
| | | | llvm-svn: 168337
* Move section label emission to module end. Nothing should beEric Christopher2012-11-191-3/+3
| | | | | | | depending on them being emitted before the text and/or data sections and testing didn't uncover any. llvm-svn: 168321
* Add an option to enable prototype "fission" capabilities and debug changes.Eric Christopher2012-11-121-0/+14
| | | | llvm-svn: 167765
* Add comment describing what's going on here.Bill Wendling2012-11-071-1/+4
| | | | llvm-svn: 167525
* When we're updating the subprogram scope DIE, we want to determine if we'reBill Wendling2012-11-071-36/+37
| | | | | | | | | | updating an abstract DIE or not. If we are, then we use that. Its children will be added on later, as well as the object pointer attribute. Otherwise, this function may be called with a concrete DIE twice and adding the children and object pointer attribute to it twice. <rdar://problem/12401423&12600340> llvm-svn: 167524
* Revert the majority of the next patch in the address space series:Chandler Carruth2012-11-011-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r165941: Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. Despite this commit log, this change primarily changed stuff outside of VMCore, and those changes do not carry any tests for correctness (or even plausibility), and we have consistently found questionable or flat out incorrect cases in these changes. Most of them are probably correct, but we need to devise a system that makes it more clear when we have handled the address space concerns correctly, and ideally each pass that gets updated would receive an accompanying test case that exercises that pass specificaly w.r.t. alternate address spaces. However, from this commit, I have retained the new C API entry points. Those were an orthogonal change that probably should have been split apart, but they seem entirely good. In several places the changes were very obvious cleanups with no actual multiple address space code added; these I have not reverted when I spotted them. In a few other places there were merge conflicts due to a cleaner solution being implemented later, often not using address spaces at all. In those cases, I've preserved the new code which isn't address space dependent. This is part of my ongoing effort to clean out the partial address space code which carries high risk and low test coverage, and not likely to be finished before the 3.2 release looms closer. Duncan and I would both like to see the above issues addressed before we return to these changes. llvm-svn: 167222
* Replace some instances of UniqueVector with SetVector, which is slightly ↵Benjamin Kramer2012-10-311-3/+3
| | | | | | | | cheaper. No functionality change. llvm-svn: 167116
* Fix grammar.Bill Wendling2012-10-301-2/+2
| | | | llvm-svn: 167029
* Resubmit the changes to llvm core to update the functions to support ↵Micah Villmow2012-10-151-9/+9
| | | | | | different pointer sizes on a per address space basis. llvm-svn: 165941
* Revert 165732 for further review.Micah Villmow2012-10-111-9/+9
| | | | llvm-svn: 165747
* Add in the first iteration of support for llvm/clang/lldb to allow variable ↵Micah Villmow2012-10-111-9/+9
| | | | | | per address space pointer sizes to be optimized correctly. llvm-svn: 165726
* Fixup comment.Eric Christopher2012-10-081-1/+1
| | | | llvm-svn: 165427
* Fixup comments.Eric Christopher2012-10-081-2/+2
| | | | llvm-svn: 165426
* Move TargetData to DataLayout.Micah Villmow2012-10-081-10/+10
| | | | llvm-svn: 165402
* Update this a bit more to represent how the prologue should work:Eric Christopher2012-10-041-3/+4
| | | | | | | | | | a) frame setup instructions define the prologue b) we shouldn't change our location mid-stream Add a test to make sure that the stack adjustment stays within the prologue. llvm-svn: 165250
* Revert "Don't use a debug location for frame setup instructions in the"Eric Christopher2012-10-021-4/+3
| | | | | | | This reverts 165055 and 165052 temporarily while I look at debugger failures. llvm-svn: 165071
* 80-col.Eric Christopher2012-10-021-2/+2
| | | | llvm-svn: 165054
* Don't use a debug location for frame setup instructions in theEric Christopher2012-10-021-3/+4
| | | | | | | prologue. Also skip frame setup instructions when looking for the first location. llvm-svn: 165052
* Have the DbgVariable "isArtificial" and "isObjectPointer" notEric Christopher2012-09-211-1/+3
| | | | | | | | | | | | 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-1/+11
| | | | | | | | | | | 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-2/+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/+2
| | | | | | Part of rdar://9797999 llvm-svn: 163667
* Revert r160148 it seems to cause more problems than it shouldEric Christopher2012-09-101-1/+1
| | | | | | right now. We'll fix PR13303 a different way. llvm-svn: 163570
* 80-col fixup.Eric Christopher2012-09-101-1/+2
| | | | llvm-svn: 163568
* No reason to construct this twice.Eric Christopher2012-09-101-1/+1
| | | | llvm-svn: 163567
* Use DW_FORM_flag_present to save space in debug information if we'reEric Christopher2012-08-241-5/+4
| | | | | | | | not in darwin gdb compat mode. Fixes rdar://10975088 llvm-svn: 162526
* Turn these two options in to trinary state so that they can beEric Christopher2012-08-231-14/+40
| | | | | | 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/+2
| | | | | | we're using the darwin old gdb compat mode for emitting dwarf. llvm-svn: 162486
* Typo.Eric Christopher2012-08-231-1/+1
| | | | llvm-svn: 162438
* Only emit the __debug_inlined section if we're trying to be compatibleEric Christopher2012-08-231-1/+5
| | | | | | | | with older gdbs on darwin. rdar://10975874 llvm-svn: 162436
* Emit pubtypes only when going for darwin gdb compatibility.Eric Christopher2012-08-231-1/+4
| | | | | | rdar://10393214 llvm-svn: 162434
* Add an option for darwin gdb compatibility.Eric Christopher2012-08-231-2/+9
| | | | llvm-svn: 162432
* Temporarily revert c23b933d5f8be9b51a1d22e717c0311f65f87dcd. It's causingEric Christopher2012-08-011-21/+6
| | | | | | 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-6/+21
| | | | | | | | | | all tests accordingly. Fixes PR13351. Patch by shinichiro hamaji! llvm-svn: 160899
OpenPOWER on IntegriCloud