summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix a number of clang -Wsign-compare warnings that didn't have an obviousJohn McCall2010-04-061-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 Hastings2010-04-061-22/+8
| | | | llvm-svn: 100563
* Revise debug info machinery to digest nested functions and classes.Stuart Hastings2010-04-061-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 outputingBill Wendling2010-04-051-0/+26
| | | | | | the FP encoding directly as a hex representation. llvm-svn: 100487
* prune #includes, realize the MMI can never be null.Chris Lattner2010-04-051-9/+12
| | | | llvm-svn: 100407
* change AsmPrinter to use DwarfDebug/DwarfException directlyChris Lattner2010-04-051-4/+3
| | | | | | instead of going through DwarfWriter. llvm-svn: 100405
* trim some spurious references to DwarfWriter. SDIsel really doesn'tChris Lattner2010-04-051-2/+2
| | | | | | need it anymore, so don't addRequire it. llvm-svn: 100400
* eliminate DwarfDebug::shouldEmit, which is the same now as MMI::hasDebugInfoChris Lattner2010-04-051-5/+3
| | | | llvm-svn: 100386
* fix a regression on 2009-08-17-DebugInfo.mChris Lattner2010-04-051-0/+2
| | | | llvm-svn: 100385
* fastisel doesn't need DwarfWriter, remove some tendricles.Chris Lattner2010-04-051-10/+21
| | | | llvm-svn: 100381
* change SizeOf to take AsmPrinter instead of TargetData, Chris Lattner2010-04-051-2/+2
| | | | | | simplifying a bunch of code. llvm-svn: 100373
* 1) make DIE take AsmPrinter instead of DwarfPrinter.Chris Lattner2010-04-051-88/+97
| | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
* Move EmitFrameMoves into AsmPrinter.Chris Lattner2010-04-041-2/+2
| | | | llvm-svn: 100371
* now that the magic is dispelled, move EmitSectionOffset to AsmPrinter.Chris Lattner2010-04-041-10/+11
| | | | llvm-svn: 100368
* only emit section labels if we have debug info, fixing a few Chris Lattner2010-04-041-4/+5
| | | | | | regtest failures. llvm-svn: 100366
* I was wrong, ocaml isn't referencing 'Ldata_begin', so remove it.Chris Lattner2010-04-041-9/+3
| | | | llvm-svn: 100365
* stop emitting some dead L labels.Chris Lattner2010-04-041-9/+12
| | | | llvm-svn: 100363
* Store an use the symbols emitted at the start of the debug Chris Lattner2010-04-041-47/+53
| | | | | | sections instead of magically rematerializing them later. llvm-svn: 100362
* remove the didInitial ivar, rename emitInitial to be moreChris Lattner2010-04-041-15/+12
| | | | | | | descriptive, change EmitSectionOffset back to taking a symbol instead of a string. llvm-svn: 100361
* simplify EmitSectionOffset a little bit, improve comments.Chris Lattner2010-04-041-8/+6
| | | | llvm-svn: 100360
* The "IsSmall" argument to EmitSectionOffset is always true,Chris Lattner2010-04-041-6/+6
| | | | | | constant fold it away. llvm-svn: 100356
* inline EmitDifference away.Chris Lattner2010-04-041-21/+23
| | | | llvm-svn: 100347
* move gettemplabel and getdwlabel to AsmPrinter and renameChris Lattner2010-04-041-73/+82
| | | | | | them for consistency. llvm-svn: 100345
* move uleb/sleb printing into AsmPrinter from DwarfPrinter.Chris Lattner2010-04-041-11/+11
| | | | llvm-svn: 100344
* clean up the asmprinter header and privatize some stuff.Chris Lattner2010-04-041-11/+11
| | | | llvm-svn: 100342
* remove TargetMachine.h #include, also, TRI isn't used frequently Chris Lattner2010-04-041-0/+1
| | | | | | enough to warrant caching in AsmPrinter, so remove it. llvm-svn: 100336
OpenPOWER on IntegriCloud