Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add comment. | Devang Patel | 2010-04-22 | 1 | -0/+5 | |
| | | | | llvm-svn: 102129 | |||||
* | Adjust debug range offsets for isWeakForLinker() functions. | Devang Patel | 2010-04-22 | 1 | -0/+1 | |
| | | | | llvm-svn: 102127 | |||||
* | Rename InsnAfterLabelMap and InsnBeforeLabelMap. | Devang Patel | 2010-04-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 102106 | |||||
* | Keep track of MCSymbol used to mark beginning of a function. | Devang Patel | 2010-04-22 | 1 | -1/+2 | |
| | | | | llvm-svn: 102104 | |||||
* | Identify when a lexical scope is split in to multiple instruction ranges. ↵ | Devang Patel | 2010-04-21 | 1 | -7/+2 | |
| | | | | | | Emit such ranges using DW_AT_ranges. llvm-svn: 102004 | |||||
* | Add support to emit dwarf ranges. | Devang Patel | 2010-04-16 | 1 | -1/+4 | |
| | | | | llvm-svn: 101575 | |||||
* | Add comment. | Devang Patel | 2010-04-15 | 1 | -0/+3 | |
| | | | | llvm-svn: 101317 | |||||
* | There is no need to track compile unit offsets if there is only one compile ↵ | Devang Patel | 2010-04-14 | 1 | -5/+0 | |
| | | | | | | unit. llvm-svn: 101315 | |||||
* | Remove dead code. | Devang Patel | 2010-04-14 | 1 | -4/+0 | |
| | | | | llvm-svn: 101314 | |||||
* | Rename a function. | Devang Patel | 2010-04-08 | 1 | -4/+3 | |
| | | | | llvm-svn: 100797 | |||||
* | One instruction may start (or end) multiple lexical scopes. | Devang Patel | 2010-04-08 | 1 | -7/+10 | |
| | | | | | | 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 | -4/+0 | |
| | | | | llvm-svn: 100771 | |||||
* | Refactor. | Devang Patel | 2010-04-08 | 1 | -0/+5 | |
| | | | | llvm-svn: 100768 | |||||
* | Remove unused method. | Benjamin Kramer | 2010-04-07 | 1 | -8/+0 | |
| | | | | llvm-svn: 100620 | |||||
* | Use the "NamedGroupTimer" class to categorize DWARF emission better. | Bill Wendling | 2010-04-07 | 1 | -4/+0 | |
| | | | | llvm-svn: 100616 | |||||
* | Reverting 100530 & 100531 due to regressions in the GDB test suite. | Stuart Hastings | 2010-04-06 | 1 | -3/+0 | |
| | | | | llvm-svn: 100563 | |||||
* | Revise debug info machinery to digest nested functions and classes. | Stuart Hastings | 2010-04-06 | 1 | -0/+3 | |
| | | | | | | | | | | | 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 | |||||
* | hopefully sate the clang self host build, which is apparently | Chris Lattner | 2010-04-05 | 1 | -0/+1 | |
| | | | | | | | | | | | instantiating some folding set stuff that GCC isn't, requiring some types to not be incomplete. I don't know if clang is right or wrong, but unbreaking the bot is goodness. Here's the broken build: http://google1.osuosl.org:8011/builders/clang-x86_64-darwin10-selfhost/builds/1813/steps/compile.llvm.stage2/logs/stdio llvm-svn: 100418 | |||||
* | privatize more stuff, eliminate vtables. | Chris Lattner | 2010-04-05 | 1 | -27/+27 | |
| | | | | llvm-svn: 100410 | |||||
* | reprivatize now that DwarfWriter is gone. | Chris Lattner | 2010-04-05 | 1 | -2/+1 | |
| | | | | llvm-svn: 100409 | |||||
* | prune #includes, realize the MMI can never be null. | Chris Lattner | 2010-04-05 | 1 | -11/+22 | |
| | | | | llvm-svn: 100407 | |||||
* | change AsmPrinter to use DwarfDebug/DwarfException directly | Chris Lattner | 2010-04-05 | 1 | -1/+1 | |
| | | | | | | instead of going through DwarfWriter. llvm-svn: 100405 | |||||
* | eliminate DwarfDebug::shouldEmit, which is the same now as MMI::hasDebugInfo | Chris Lattner | 2010-04-05 | 1 | -8/+0 | |
| | | | | llvm-svn: 100386 | |||||
* | fastisel doesn't need DwarfWriter, remove some tendricles. | Chris Lattner | 2010-04-05 | 1 | -0/+2 | |
| | | | | llvm-svn: 100381 | |||||
* | 1) make DIE take AsmPrinter instead of DwarfPrinter. | Chris Lattner | 2010-04-05 | 1 | -2/+6 | |
| | | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372 | |||||
* | I was wrong, ocaml isn't referencing 'Ldata_begin', so remove it. | Chris Lattner | 2010-04-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 100365 | |||||
* | Store an use the symbols emitted at the start of the debug | Chris Lattner | 2010-04-04 | 1 | -0/+8 | |
| | | | | | | sections instead of magically rematerializing them later. llvm-svn: 100362 | |||||
* | remove the didInitial ivar, rename emitInitial to be more | Chris Lattner | 2010-04-04 | 1 | -7/+3 | |
| | | | | | | | descriptive, change EmitSectionOffset back to taking a symbol instead of a string. llvm-svn: 100361 | |||||
* | remove the raw_ostream from various dwarf printing things. | Chris Lattner | 2010-04-04 | 1 | -4/+4 | |
| | | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325 | |||||
* | Switch the code generator (except the JIT) onto the new DebugLoc | Chris Lattner | 2010-04-02 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | 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 | |||||
* | Reverting 100048; it broke two Frontend debug info tests. | Stuart Hastings | 2010-03-31 | 1 | -3/+0 | |
| | | | | llvm-svn: 100058 | |||||
* | Debug info can now properly represent functions inside classes inside other ↵ | Stuart Hastings | 2010-03-31 | 1 | -0/+3 | |
| | | | | | | functions. Partial fix for Radar 7424645. llvm-svn: 100048 | |||||
* | DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them are | Benjamin Kramer | 2010-03-31 | 1 | -3/+6 | |
| | | | | | | | | | POD-like anyway, so we don't even care about calling their d'tors (DIEBlock being the exception). ~6% less mallocs and ~1% compile time improvement on clang -O0 -g oggenc.c llvm-svn: 100035 | |||||
* | Encode start location of debug value, communicated through DBG_VALUE machine ↵ | Devang Patel | 2010-03-29 | 1 | -0/+6 | |
| | | | | | | instruction, in a variable's DIE. llvm-svn: 99845 | |||||
* | Refactor code to push DILocation prcessing into DwarfDebug.cpp from ↵ | Devang Patel | 2010-03-29 | 1 | -2/+6 | |
| | | | | | | | | AsmPrinter.cpp. This is same as r99772 (which was reverted) with just one meaningful difference where two source lines exchanged their positions. llvm-svn: 99816 | |||||
* | Revert 99772. | Devang Patel | 2010-03-28 | 1 | -6/+2 | |
| | | | | llvm-svn: 99778 | |||||
* | Refactoring. Push DILocation processing in to DwarfDebug from AsmPrinter. | Devang Patel | 2010-03-28 | 1 | -2/+6 | |
| | | | | llvm-svn: 99772 | |||||
* | Add comment. | Devang Patel | 2010-03-25 | 1 | -0/+3 | |
| | | | | llvm-svn: 99507 | |||||
* | DW_AT_stmt_list attribute attached with a compile unit encodes offset of ↵ | Devang Patel | 2010-03-22 | 1 | -6/+0 | |
| | | | | | | line number information for this compile unit in debug_line section. This offset is always zero when only one compile unit is emitted in a object file. llvm-svn: 99223 | |||||
* | Emit dwarf variable info communicated by code generator through DBG_VALUE ↵ | Devang Patel | 2010-03-15 | 1 | -0/+2 | |
| | | | | | | | | machine instructions. This is a work in progress. llvm-svn: 98556 | |||||
* | change SrcLineInfo to contain a label instead of a label ID. | Chris Lattner | 2010-03-14 | 1 | -4/+4 | |
| | | | | llvm-svn: 98483 | |||||
* | reimplement the string pool used for inlined function | Chris Lattner | 2010-03-13 | 1 | -3/+6 | |
| | | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415 | |||||
* | Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness of | Jeffrey Yasskin | 2010-03-12 | 1 | -4/+6 | |
| | | | | | | several fields to make it easier to figure out where bugs might be creeping in. llvm-svn: 98358 | |||||
* | Avoid leaking CompileUnits in DwarfDebug.cpp. | Jeffrey Yasskin | 2010-03-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 98268 | |||||
* | reapply r98035: | Chris Lattner | 2010-03-09 | 1 | -5/+5 | |
| | | | | | | | Now that setStartLabel takes an MCSymbol, we can de-ID'ize beginScope and RecordSourceLine. llvm-svn: 98047 | |||||
* | Speculatively revert r98035. It appears to have caused a set of buildbot | Eric Christopher | 2010-03-09 | 1 | -5/+5 | |
| | | | | | | failures. llvm-svn: 98039 | |||||
* | Now that setStartLabel takes an MCSymbol, we can de-ID'ize | Chris Lattner | 2010-03-09 | 1 | -5/+5 | |
| | | | | | | beginScope and RecordSourceLine. llvm-svn: 98035 | |||||
* | make InlineInfoLabels hold MCSymbol*'s, avoiding | Chris Lattner | 2010-03-09 | 1 | -2/+2 | |
| | | | | | | recomputation of the labels. llvm-svn: 98016 | |||||
* | simplify EmitSectionOffset to always use .set if it is | Chris Lattner | 2010-03-08 | 1 | -1/+1 | |
| | | | | | | | | | available, the only thing this affects is that we produce .set in one case we didn't before, which shouldn't harm anything. Make EmitSectionOffset call EmitDifference instead of duplicating it. llvm-svn: 98005 | |||||
* | merge DIEObjectLabel and DIEDwarfLabel into DIELabel. | Chris Lattner | 2010-03-08 | 1 | -5/+0 | |
| | | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995 |