Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove DIGlobal. | Devang Patel | 2010-05-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 103325 | |||||
* | Verify entire type descriptor not just tag. | Devang Patel | 2010-05-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 103303 | |||||
* | Wrap const MDNode * inside DIDescriptor. | Devang Patel | 2010-05-07 | 1 | -40/+40 | |
| | | | | llvm-svn: 103295 | |||||
* | Avoid DIDescriptor::getNode(). Use overloaded operators instead. | Devang Patel | 2010-05-07 | 1 | -65/+65 | |
| | | | | llvm-svn: 103272 | |||||
* | Disable the new unknown-location code for now. It causes a major | Dan Gohman | 2010-05-07 | 1 | -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 Gohman | 2010-05-06 | 1 | -0/+5 | |
| | | | | llvm-svn: 103145 | |||||
* | Emit debug info for MachineInstrs with unknown debug locations, instead | Dan Gohman | 2010-05-05 | 1 | -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 Patel | 2010-05-04 | 1 | -4/+6 | |
| | | | | | | available all the time. llvm-svn: 103001 | |||||
* | Attach AT_APPLE_optimized attribute to optimized function's debug info. | Devang Patel | 2010-04-30 | 1 | -5/+8 | |
| | | | | llvm-svn: 102743 | |||||
* | Emit debug info for byval parameters. | Devang Patel | 2010-04-28 | 1 | -4/+9 | |
| | | | | llvm-svn: 102486 | |||||
* | remove some default arguments to EmitAlignment. | Chris Lattner | 2010-04-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 102482 | |||||
* | Refactor. | Devang Patel | 2010-04-28 | 1 | -50/+77 | |
| | | | | llvm-svn: 102481 | |||||
* | Use isReg(), isImm() and isFPImm(). | Devang Patel | 2010-04-27 | 1 | -9/+5 | |
| | | | | llvm-svn: 102470 | |||||
* | Check operand type first. | Devang Patel | 2010-04-27 | 1 | -1/+2 | |
| | | | | llvm-svn: 102468 | |||||
* | Ignore DBG_VALUE instructions that points to undef values. | Devang Patel | 2010-04-27 | 1 | -0/+5 | |
| | | | | llvm-svn: 102463 | |||||
* | Identify when a lexical scope is split in to multiple instruction ranges. ↵ | Devang Patel | 2010-04-27 | 1 | -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 Patel | 2010-04-26 | 1 | -3/+3 | |
| | | | | | | simplifies debug range entries. llvm-svn: 102394 | |||||
* | Revert 102135, 102129, 102127, 102106, 102104, 102102, 102012, 102004, | Dan Gohman | 2010-04-23 | 1 | -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 Patel | 2010-04-22 | 1 | -6/+28 | |
| | | | | llvm-svn: 102127 | |||||
* | Rename InsnAfterLabelMap and InsnBeforeLabelMap. | Devang Patel | 2010-04-22 | 1 | -10/+10 | |
| | | | | llvm-svn: 102106 | |||||
* | Keep track of MCSymbol used to mark beginning of a function. | Devang Patel | 2010-04-22 | 1 | -2/+4 | |
| | | | | llvm-svn: 102104 | |||||
* | At this point Start and End are not null. | Devang Patel | 2010-04-22 | 1 | -5/+2 | |
| | | | | llvm-svn: 102102 | |||||
* | Add command line option to disable debug info printing in .s file. This ↵ | Devang Patel | 2010-04-21 | 1 | -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 Patel | 2010-04-21 | 1 | -184/+319 | |
| | | | | | | Emit such ranges using DW_AT_ranges. llvm-svn: 102004 | |||||
* | Implement -disable-non-leaf-fp-elim which disable frame pointer elimination | Evan Cheng | 2010-04-21 | 1 | -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.cpp | Dan Gohman | 2010-04-20 | 1 | -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 Patel | 2010-04-19 | 1 | -0/+5 | |
| | | | | llvm-svn: 101805 | |||||
* | Use const_cast instead of a C-style cast to cast away const. | Dan Gohman | 2010-04-17 | 1 | -2/+3 | |
| | | | | llvm-svn: 101639 | |||||
* | Add support to emit dwarf ranges. | Devang Patel | 2010-04-16 | 1 | -3/+23 | |
| | | | | llvm-svn: 101575 | |||||
* | Fix a bunch of namespace polution. | Dan Gohman | 2010-04-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 101376 | |||||
* | There is no need to track compile unit offsets if there is only one compile ↵ | Devang Patel | 2010-04-14 | 1 | -1/+0 | |
| | | | | | | unit. llvm-svn: 101315 | |||||
* | Clear MachineInstr->MCSymbol maps at the end of a function. | Devang Patel | 2010-04-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 101202 | |||||
* | Do not include types without any definition in pubtypes list. | Devang Patel | 2010-04-13 | 1 | -2/+4 | |
| | | | | llvm-svn: 101171 | |||||
* | Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function. | Devang Patel | 2010-04-09 | 1 | -0/+2 | |
| | | | | llvm-svn: 100867 | |||||
* | Rename a function. | Devang Patel | 2010-04-08 | 1 | -5/+4 | |
| | | | | llvm-svn: 100797 | |||||
* | One instruction may start (or end) multiple lexical scopes. | Devang Patel | 2010-04-08 | 1 | -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 Patel | 2010-04-08 | 1 | -5/+0 | |
| | | | | llvm-svn: 100771 | |||||
* | Delete out of date comment. | Devang Patel | 2010-04-08 | 1 | -2/+0 | |
| | | | | llvm-svn: 100769 | |||||
* | Refactor. | Devang Patel | 2010-04-08 | 1 | -2/+10 | |
| | | | | llvm-svn: 100768 | |||||
* | Remove unused method. | Benjamin Kramer | 2010-04-07 | 1 | -11/+0 | |
| | | | | llvm-svn: 100620 | |||||
* | Workaround the breakage in r100616 by guarding all timers with | Torok Edwin | 2010-04-07 | 1 | -11/+7 | |
| | | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618 | |||||
* | Use the "NamedGroupTimer" class to categorize DWARF emission better. | Bill Wendling | 2010-04-07 | 1 | -21/+17 | |
| | | | | llvm-svn: 100616 | |||||
* | Do not emit specification DIE with DW_AT_specification attribute for member ↵ | Devang Patel | 2010-04-06 | 1 | -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 | |||||
* | Fix a number of clang -Wsign-compare warnings that didn't have an obvious | John McCall | 2010-04-06 | 1 | -1/+1 | |
| | | | | | | | solution. The only reason these don't fire with gcc-4.2 is that gcc turns off part of -Wsign-compare in C++ on accident. llvm-svn: 100581 | |||||
* | Reverting 100530 & 100531 due to regressions in the GDB test suite. | Stuart Hastings | 2010-04-06 | 1 | -22/+8 | |
| | | | | llvm-svn: 100563 | |||||
* | Revise debug info machinery to digest nested functions and classes. | Stuart Hastings | 2010-04-06 | 1 | -8/+22 | |
| | | | | | | | | | | | A certain GDB testsuite case (local.cc) has a function nested inside a class nested inside another function. GCC presents the innermost function to llvm-convert first. Heretofore, the debug info mistakenly placed the inner function at module scope. This patch walks the GCC context links and instantiates the outer class and function so the debug info is properly nested. Radar 7426545. llvm-svn: 100530 | |||||
* | Output floating point representations in DWARF format. This is done by outputing | Bill Wendling | 2010-04-05 | 1 | -0/+26 | |
| | | | | | | the FP encoding directly as a hex representation. llvm-svn: 100487 | |||||
* | prune #includes, realize the MMI can never be null. | Chris Lattner | 2010-04-05 | 1 | -9/+12 | |
| | | | | llvm-svn: 100407 | |||||
* | change AsmPrinter to use DwarfDebug/DwarfException directly | Chris Lattner | 2010-04-05 | 1 | -4/+3 | |
| | | | | | | instead of going through DwarfWriter. llvm-svn: 100405 | |||||
* | trim some spurious references to DwarfWriter. SDIsel really doesn't | Chris Lattner | 2010-04-05 | 1 | -2/+2 | |
| | | | | | | need it anymore, so don't addRequire it. llvm-svn: 100400 |