summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add comment.Devang Patel2010-04-221-0/+5
| | | | llvm-svn: 102129
* Adjust debug range offsets for isWeakForLinker() functions.Devang Patel2010-04-221-0/+1
| | | | llvm-svn: 102127
* Rename InsnAfterLabelMap and InsnBeforeLabelMap.Devang Patel2010-04-221-4/+4
| | | | llvm-svn: 102106
* Keep track of MCSymbol used to mark beginning of a function.Devang Patel2010-04-221-1/+2
| | | | llvm-svn: 102104
* Identify when a lexical scope is split in to multiple instruction ranges. ↵Devang Patel2010-04-211-7/+2
| | | | | | Emit such ranges using DW_AT_ranges. llvm-svn: 102004
* Add support to emit dwarf ranges.Devang Patel2010-04-161-1/+4
| | | | llvm-svn: 101575
* Add comment.Devang Patel2010-04-151-0/+3
| | | | llvm-svn: 101317
* There is no need to track compile unit offsets if there is only one compile ↵Devang Patel2010-04-141-5/+0
| | | | | | unit. llvm-svn: 101315
* Remove dead code.Devang Patel2010-04-141-4/+0
| | | | llvm-svn: 101314
* Rename a function.Devang Patel2010-04-081-4/+3
| | | | llvm-svn: 100797
* One instruction may start (or end) multiple lexical scopes. Devang Patel2010-04-081-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 Patel2010-04-081-4/+0
| | | | llvm-svn: 100771
* Refactor.Devang Patel2010-04-081-0/+5
| | | | llvm-svn: 100768
* Remove unused method.Benjamin Kramer2010-04-071-8/+0
| | | | llvm-svn: 100620
* Use the "NamedGroupTimer" class to categorize DWARF emission better.Bill Wendling2010-04-071-4/+0
| | | | llvm-svn: 100616
* Reverting 100530 & 100531 due to regressions in the GDB test suite.Stuart Hastings2010-04-061-3/+0
| | | | llvm-svn: 100563
* Revise debug info machinery to digest nested functions and classes.Stuart Hastings2010-04-061-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 Lattner2010-04-051-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 Lattner2010-04-051-27/+27
| | | | llvm-svn: 100410
* reprivatize now that DwarfWriter is gone.Chris Lattner2010-04-051-2/+1
| | | | llvm-svn: 100409
* prune #includes, realize the MMI can never be null.Chris Lattner2010-04-051-11/+22
| | | | llvm-svn: 100407
* change AsmPrinter to use DwarfDebug/DwarfException directlyChris Lattner2010-04-051-1/+1
| | | | | | instead of going through DwarfWriter. llvm-svn: 100405
* eliminate DwarfDebug::shouldEmit, which is the same now as MMI::hasDebugInfoChris Lattner2010-04-051-8/+0
| | | | llvm-svn: 100386
* fastisel doesn't need DwarfWriter, remove some tendricles.Chris Lattner2010-04-051-0/+2
| | | | llvm-svn: 100381
* 1) make DIE take AsmPrinter instead of DwarfPrinter.Chris Lattner2010-04-051-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 Lattner2010-04-041-1/+1
| | | | llvm-svn: 100365
* Store an use the symbols emitted at the start of the debug Chris Lattner2010-04-041-0/+8
| | | | | | sections instead of magically rematerializing them later. llvm-svn: 100362
* remove the didInitial ivar, rename emitInitial to be moreChris Lattner2010-04-041-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 Lattner2010-04-041-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 DebugLocChris Lattner2010-04-021-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 Hastings2010-03-311-3/+0
| | | | llvm-svn: 100058
* Debug info can now properly represent functions inside classes inside other ↵Stuart Hastings2010-03-311-0/+3
| | | | | | functions. Partial fix for Radar 7424645. llvm-svn: 100048
* DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them areBenjamin Kramer2010-03-311-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 Patel2010-03-291-0/+6
| | | | | | instruction, in a variable's DIE. llvm-svn: 99845
* Refactor code to push DILocation prcessing into DwarfDebug.cpp from ↵Devang Patel2010-03-291-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 Patel2010-03-281-6/+2
| | | | llvm-svn: 99778
* Refactoring. Push DILocation processing in to DwarfDebug from AsmPrinter.Devang Patel2010-03-281-2/+6
| | | | llvm-svn: 99772
* Add comment.Devang Patel2010-03-251-0/+3
| | | | llvm-svn: 99507
* DW_AT_stmt_list attribute attached with a compile unit encodes offset of ↵Devang Patel2010-03-221-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 Patel2010-03-151-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 Lattner2010-03-141-4/+4
| | | | llvm-svn: 98483
* reimplement the string pool used for inlined functionChris Lattner2010-03-131-3/+6
| | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415
* Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness ofJeffrey Yasskin2010-03-121-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 Yasskin2010-03-111-1/+1
| | | | llvm-svn: 98268
* reapply r98035:Chris Lattner2010-03-091-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 buildbotEric Christopher2010-03-091-5/+5
| | | | | | failures. llvm-svn: 98039
* Now that setStartLabel takes an MCSymbol, we can de-ID'izeChris Lattner2010-03-091-5/+5
| | | | | | beginScope and RecordSourceLine. llvm-svn: 98035
* make InlineInfoLabels hold MCSymbol*'s, avoiding Chris Lattner2010-03-091-2/+2
| | | | | | recomputation of the labels. llvm-svn: 98016
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-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 Lattner2010-03-081-5/+0
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
OpenPOWER on IntegriCloud