Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 149816 | |||||
* | Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it. | Eric Christopher | 2012-01-24 | 1 | -9/+0 | |
| | | | | | | | | Saves about 1.5% on debug info size. rdar://10278198 llvm-svn: 148794 | |||||
* | More dead code removal (using -Wunreachable-code) | David Blaikie | 2012-01-20 | 1 | -4/+2 | |
| | | | | llvm-svn: 148578 | |||||
* | Unweaken vtables as per ↵ | David Blaikie | 2011-12-20 | 1 | -0/+1 | |
| | | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960 | |||||
* | Add more PRI.64 macros for MSVC and use them throughout the codebase. | Benjamin Kramer | 2011-11-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 143799 | |||||
* | Always use the string pool, even when it makes the .o larger. This may help | Nick Lewycky | 2011-10-28 | 1 | -18/+0 | |
| | | | | | | | tools that read the debug info in the .o files by making the DIE sizes more consistent. llvm-svn: 143186 | |||||
* | Teach our Dwarf emission to use the string pool. | Nick Lewycky | 2011-10-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 143097 | |||||
* | Fix a lot of typos, improve (but not necessarily fix) grammaros and reflow some | Nick Lewycky | 2011-07-29 | 1 | -1/+1 | |
| | | | | | | lines. No functionality change. llvm-svn: 136458 | |||||
* | Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. | Cameron Zwarich | 2011-02-25 | 1 | -23/+0 | |
| | | | | llvm-svn: 126488 | |||||
* | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 1 | -0/+23 | |
| | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
* | Use DW_FORM_addr for DW_AT_entry_pc. | Devang Patel | 2010-06-28 | 1 | -0/+2 | |
| | | | | llvm-svn: 107085 | |||||
* | change SizeOf to take AsmPrinter instead of TargetData, | Chris Lattner | 2010-04-05 | 1 | -13/+10 | |
| | | | | | | simplifying a bunch of code. llvm-svn: 100373 | |||||
* | 1) make DIE take AsmPrinter instead of DwarfPrinter. | Chris Lattner | 2010-04-05 | 1 | -25/+22 | |
| | | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372 | |||||
* | inline EmitDifference away. | Chris Lattner | 2010-04-04 | 1 | -2/+2 | |
| | | | | llvm-svn: 100347 | |||||
* | move uleb/sleb printing into AsmPrinter from DwarfPrinter. | Chris Lattner | 2010-04-04 | 1 | -16/+16 | |
| | | | | llvm-svn: 100344 | |||||
* | DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them are | Benjamin Kramer | 2010-03-31 | 1 | -2/+3 | |
| | | | | | | | | | 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 | |||||
* | DW_AT_stmt_list attribute attached with a compile unit encodes offset of ↵ | Devang Patel | 2010-03-22 | 1 | -25/+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 | |||||
* | Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValue | Jeffrey Yasskin | 2010-03-22 | 1 | -1/+2 | |
| | | | | | | it allocates to DwarfDebug::DIEValues. llvm-svn: 99196 | |||||
* | inline away a form of IsPCRelative, eliminating the | Chris Lattner | 2010-03-10 | 1 | -1/+2 | |
| | | | | | | dead IsPCRel argument. llvm-svn: 98117 | |||||
* | eliminate a bunch of \n's that are being printed to O. Next up is to kill | Chris Lattner | 2010-03-09 | 1 | -11/+6 | |
| | | | | | | off "EOL". llvm-svn: 98102 | |||||
* | simplify EmitSectionOffset to always use .set if it is | Chris Lattner | 2010-03-08 | 1 | -2/+2 | |
| | | | | | | | | | 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 | -28/+4 | |
| | | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995 | |||||
* | elimiante the DWLabel class, using MCSymbol instead. Start | Chris Lattner | 2010-03-08 | 1 | -14/+5 | |
| | | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993 | |||||
* | Fix to get it to compile. | Bill Wendling | 2010-02-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 95840 | |||||
* | Don't print out a default newline when emitting the section offset. There are | Bill Wendling | 2010-02-11 | 1 | -0/+1 | |
| | | | | | | almost always comments afterwards that need printing. llvm-svn: 95839 | |||||
* | remove one form of EmitString, just use EmitBytes instead. We must | Chris Lattner | 2010-01-23 | 1 | -1/+3 | |
| | | | | | | | be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277 | |||||
* | move uleb printing from asmprinter to dwarfprinter, mcize, | Chris Lattner | 2010-01-22 | 1 | -13/+15 | |
| | | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250 | |||||
* | move sleb printing out of asmprinter into dwarf printer, make clients | Chris Lattner | 2010-01-22 | 1 | -1/+1 | |
| | | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244 | |||||
* | rename the dwarf class to DwarfPrinter. This matches the filename | Chris Lattner | 2010-01-22 | 1 | -8/+8 | |
| | | | | | | and much more accurately describes what it is all about. llvm-svn: 94233 | |||||
* | inline away the trivial AsmPrinter::EOL() method. | Chris Lattner | 2010-01-22 | 1 | -1/+2 | |
| | | | | llvm-svn: 94230 | |||||
* | eliminate some uses of AsmPrinter::EmitIntXXX | Chris Lattner | 2010-01-20 | 1 | -6/+9 | |
| | | | | llvm-svn: 93996 | |||||
* | Switch some functions to take Twines, eliminate uses of StringExtras.h. | Benjamin Kramer | 2010-01-17 | 1 | -0/+1 | |
| | | | | llvm-svn: 93680 | |||||
* | Change DIEObjectLabel to take an MCSymbol instead of std::string. | Chris Lattner | 2010-01-16 | 1 | -2/+3 | |
| | | | | llvm-svn: 93647 | |||||
* | Change errs() to dbgs(). | David Greene | 2009-12-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 92094 | |||||
* | Cosmetic changes, which were long overdue, in DwarfDebug.cpp. | Devang Patel | 2009-11-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 89537 | |||||
* | There is no need to use FoldingSet to unique DIEs. | Devang Patel | 2009-11-21 | 1 | -98/+0 | |
| | | | | | | DIEs are created from MDNode, which are already uniqued. And DwarfDebug already uses ValueMaps to find and use existing DIE for a given MDNode. llvm-svn: 89518 | |||||
* | convert the DIE printing stuff to use raw_ostream instead of std::ostream. | Chris Lattner | 2009-08-23 | 1 | -20/+20 | |
| | | | | | | Tweak #includes. llvm-svn: 79800 | |||||
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 79763 | |||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -4/+4 | |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | |||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 1 | -4/+5 | |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | |||||
* | Down with _even more_ statics! | Owen Anderson | 2009-06-24 | 1 | -1/+0 | |
| | | | | llvm-svn: 74137 | |||||
* | Split out the Dwarf writer stuff into separate files. This is a much more | Bill Wendling | 2009-05-15 | 1 | -0/+518 | |
logical/sane approach to organizing all of the stuff that goes into writing out DWARF information. Honestly? even this is too complex for what it's supposed to be doing. Trivia: It *looks* like there would be functionality changes, however there aren't! llvm-svn: 71821 |