summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Split DbgVariable. Eventually, variable info will be communicated through ↵Devang Patel2010-05-201-87/+82
| | | | | | frame index, or DBG_VALUE instruction, or collection of DBG_VALUE instructions. Plus each DbgVariable may not need a label. llvm-svn: 104233
* Revert r104165.Devang Patel2010-05-191-5/+11
| | | | llvm-svn: 104172
* There is no need to maintain InsnsBeginScopeSet separately. Devang Patel2010-05-191-11/+5
| | | | llvm-svn: 104165
* Do not forget to mark prcessed arguments.Devang Patel2010-05-141-0/+1
| | | | llvm-svn: 103822
* Add support to preserve type info for the variables that are removed by the ↵Devang Patel2010-05-141-13/+34
| | | | | | optimizer. llvm-svn: 103798
* Enable multiple Compile Units in one module.Devang Patel2010-05-101-160/+219
| | | | | | This means now 'llvm-ld a.bc b.bc' will preserve debug info appropriately. llvm-svn: 103439
* Instead of just verifying compile unit, verify entire type, variable, ↵Devang Patel2010-05-071-11/+10
| | | | | | namespace etc.. llvm-svn: 103327
* Remove DIGlobal.Devang Patel2010-05-071-1/+1
| | | | llvm-svn: 103325
* Verify entire type descriptor not just tag.Devang Patel2010-05-071-2/+2
| | | | llvm-svn: 103303
* Wrap const MDNode * inside DIDescriptor.Devang Patel2010-05-071-40/+40
| | | | llvm-svn: 103295
* Avoid DIDescriptor::getNode(). Use overloaded operators instead.Devang Patel2010-05-071-65/+65
| | | | llvm-svn: 103272
* Disable the new unknown-location code for now. It causes a majorDan Gohman2010-05-071-14/+20
| | | | | | | increase in the debug line info section, and it's causing regressions in a gdb testsuite. llvm-svn: 103226
* Update LabelsBeforeInsn also, when creating unknown-position labels.Dan Gohman2010-05-061-0/+5
| | | | llvm-svn: 103145
* Emit debug info for MachineInstrs with unknown debug locations, insteadDan Gohman2010-05-051-19/+34
| | | | | | | | of just letting them inherit the debug locations of adjacent instructions. Debug info should aim to be either accurate or absent. llvm-svn: 103135
* Set DW_AT_APPLE_omit_frame_ptr in endFunction() where MachineFunction is ↵Devang Patel2010-05-041-4/+6
| | | | | | available all the time. llvm-svn: 103001
* Attach AT_APPLE_optimized attribute to optimized function's debug info.Devang Patel2010-04-301-5/+8
| | | | llvm-svn: 102743
* Emit debug info for byval parameters.Devang Patel2010-04-281-4/+9
| | | | llvm-svn: 102486
* remove some default arguments to EmitAlignment.Chris Lattner2010-04-281-2/+2
| | | | llvm-svn: 102482
* Refactor. Devang Patel2010-04-281-50/+77
| | | | llvm-svn: 102481
* Use isReg(), isImm() and isFPImm().Devang Patel2010-04-271-9/+5
| | | | llvm-svn: 102470
* Check operand type first.Devang Patel2010-04-271-1/+2
| | | | llvm-svn: 102468
* Ignore DBG_VALUE instructions that points to undef values.Devang Patel2010-04-271-0/+5
| | | | llvm-svn: 102463
* Identify when a lexical scope is split in to multiple instruction ranges. ↵Devang Patel2010-04-271-202/+342
| | | | | | | | Emit such ranges using DW_AT_ranges. This patch fixes bug (PR6894) introduced by previous version of this patch. llvm-svn: 102454
* Use DW_AT_entry_pc instead of DW_AT_low_pc/DW_AT_high_pc pair. This ↵Devang Patel2010-04-261-3/+3
| | | | | | simplifies debug range entries. llvm-svn: 102394
* Revert 102135, 102129, 102127, 102106, 102104, 102102, 102012, 102004,Dan Gohman2010-04-231-361/+199
| | | | | | | because 102004 causes codegen to emit invalid assembly on at least x86_64-unknown-gnu-linux. llvm-svn: 102155
* Adjust debug range offsets for isWeakForLinker() functions.Devang Patel2010-04-221-6/+28
| | | | llvm-svn: 102127
* Rename InsnAfterLabelMap and InsnBeforeLabelMap.Devang Patel2010-04-221-10/+10
| | | | llvm-svn: 102106
* Keep track of MCSymbol used to mark beginning of a function.Devang Patel2010-04-221-2/+4
| | | | llvm-svn: 102104
* At this point Start and End are not null.Devang Patel2010-04-221-5/+2
| | | | llvm-svn: 102102
* Add command line option to disable debug info printing in .s file. This ↵Devang Patel2010-04-211-0/+6
| | | | | | option does not impact debug info generation and preservation through earlier compile starges. llvm-svn: 102012
* Identify when a lexical scope is split in to multiple instruction ranges. ↵Devang Patel2010-04-211-184/+319
| | | | | | Emit such ranges using DW_AT_ranges. llvm-svn: 102004
* Implement -disable-non-leaf-fp-elim which disable frame pointer eliminationEvan Cheng2010-04-211-1/+1
| | | | | | | optimization for non-leaf functions. This will be hooked up to gcc's -momit-leaf-frame-pointer option. rdar://7886181 llvm-svn: 101984
* Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cppDan Gohman2010-04-201-1/+16
| | | | | | responsible for figuring out what that's supposed to be on its own. llvm-svn: 101844
* Add DW_AT_APPLE_omit_frame_ptr to encode -fomit-frame-pointer flag.Devang Patel2010-04-191-0/+5
| | | | llvm-svn: 101805
* Use const_cast instead of a C-style cast to cast away const.Dan Gohman2010-04-171-2/+3
| | | | llvm-svn: 101639
* Add support to emit dwarf ranges.Devang Patel2010-04-161-3/+23
| | | | llvm-svn: 101575
* Fix a bunch of namespace polution.Dan Gohman2010-04-151-1/+1
| | | | llvm-svn: 101376
* There is no need to track compile unit offsets if there is only one compile ↵Devang Patel2010-04-141-1/+0
| | | | | | unit. llvm-svn: 101315
* Clear MachineInstr->MCSymbol maps at the end of a function.Devang Patel2010-04-141-0/+2
| | | | llvm-svn: 101202
* Do not include types without any definition in pubtypes list.Devang Patel2010-04-131-2/+4
| | | | llvm-svn: 101171
* Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function.Devang Patel2010-04-091-0/+2
| | | | llvm-svn: 100867
* Rename a function.Devang Patel2010-04-081-5/+4
| | | | llvm-svn: 100797
* One instruction may start (or end) multiple lexical scopes. Devang Patel2010-04-081-51/+18
| | | | | | There is no need to remember labels identifying regions marked by such instructions in each scope. llvm-svn: 100781
* Remove dead code.Devang Patel2010-04-081-5/+0
| | | | llvm-svn: 100771
* Delete out of date comment.Devang Patel2010-04-081-2/+0
| | | | llvm-svn: 100769
* Refactor.Devang Patel2010-04-081-2/+10
| | | | llvm-svn: 100768
* Remove unused method.Benjamin Kramer2010-04-071-11/+0
| | | | llvm-svn: 100620
* Workaround the breakage in r100616 by guarding all timers withTorok Edwin2010-04-071-11/+7
| | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618
* Use the "NamedGroupTimer" class to categorize DWARF emission better.Bill Wendling2010-04-071-21/+17
| | | | llvm-svn: 100616
* Do not emit specification DIE with DW_AT_specification attribute for member ↵Devang Patel2010-04-061-2/+17
| | | | | | functions of a funcation local class. This trips gdb's partial scan of DIEs at load time. Fixes Radar 7833483. llvm-svn: 100586
OpenPOWER on IntegriCloud