summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert assert(0) to llvm_unreachableCraig Topper2012-02-051-1/+1
| | | | llvm-svn: 149816
* Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it.Eric Christopher2012-01-241-9/+0
| | | | | | | | Saves about 1.5% on debug info size. rdar://10278198 llvm-svn: 148794
* More dead code removal (using -Wunreachable-code)David Blaikie2012-01-201-4/+2
| | | | llvm-svn: 148578
* Unweaken vtables as per ↵David Blaikie2011-12-201-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 Kramer2011-11-051-2/+2
| | | | llvm-svn: 143799
* Always use the string pool, even when it makes the .o larger. This may helpNick Lewycky2011-10-281-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 Lewycky2011-10-271-0/+2
| | | | llvm-svn: 143097
* Fix a lot of typos, improve (but not necessarily fix) grammaros and reflow someNick Lewycky2011-07-291-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 Zwarich2011-02-251-23/+0
| | | | llvm-svn: 126488
* Enable DebugInfo support for COFF object files.Devang Patel2011-02-241-0/+23
| | | | | | Patch by Nathan Jeffords! llvm-svn: 126425
* Use DW_FORM_addr for DW_AT_entry_pc.Devang Patel2010-06-281-0/+2
| | | | llvm-svn: 107085
* change SizeOf to take AsmPrinter instead of TargetData, Chris Lattner2010-04-051-13/+10
| | | | | | simplifying a bunch of code. llvm-svn: 100373
* 1) make DIE take AsmPrinter instead of DwarfPrinter.Chris Lattner2010-04-051-25/+22
| | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
* inline EmitDifference away.Chris Lattner2010-04-041-2/+2
| | | | llvm-svn: 100347
* move uleb/sleb printing into AsmPrinter from DwarfPrinter.Chris Lattner2010-04-041-16/+16
| | | | llvm-svn: 100344
* DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them areBenjamin Kramer2010-03-311-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 Patel2010-03-221-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 DIEValueJeffrey Yasskin2010-03-221-1/+2
| | | | | | it allocates to DwarfDebug::DIEValues. llvm-svn: 99196
* inline away a form of IsPCRelative, eliminating the Chris Lattner2010-03-101-1/+2
| | | | | | dead IsPCRel argument. llvm-svn: 98117
* eliminate a bunch of \n's that are being printed to O. Next up is to killChris Lattner2010-03-091-11/+6
| | | | | | off "EOL". llvm-svn: 98102
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-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 Lattner2010-03-081-28/+4
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-14/+5
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Fix to get it to compile.Bill Wendling2010-02-111-1/+1
| | | | llvm-svn: 95840
* Don't print out a default newline when emitting the section offset. There areBill Wendling2010-02-111-0/+1
| | | | | | almost always comments afterwards that need printing. llvm-svn: 95839
* remove one form of EmitString, just use EmitBytes instead. We mustChris Lattner2010-01-231-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 Lattner2010-01-221-13/+15
| | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
* move sleb printing out of asmprinter into dwarf printer, make clientsChris Lattner2010-01-221-1/+1
| | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
* rename the dwarf class to DwarfPrinter. This matches the filenameChris Lattner2010-01-221-8/+8
| | | | | | and much more accurately describes what it is all about. llvm-svn: 94233
* inline away the trivial AsmPrinter::EOL() method.Chris Lattner2010-01-221-1/+2
| | | | llvm-svn: 94230
* eliminate some uses of AsmPrinter::EmitIntXXXChris Lattner2010-01-201-6/+9
| | | | llvm-svn: 93996
* Switch some functions to take Twines, eliminate uses of StringExtras.h.Benjamin Kramer2010-01-171-0/+1
| | | | llvm-svn: 93680
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-161-2/+3
| | | | llvm-svn: 93647
* Change errs() to dbgs().David Greene2009-12-241-3/+4
| | | | llvm-svn: 92094
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-211-2/+2
| | | | llvm-svn: 89537
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-211-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 Lattner2009-08-231-20/+20
| | | | | | Tweak #includes. llvm-svn: 79800
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-4/+4
| | | | llvm-svn: 79763
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-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 Edwin2009-07-111-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 Anderson2009-06-241-1/+0
| | | | llvm-svn: 74137
* Split out the Dwarf writer stuff into separate files. This is a much moreBill Wendling2009-05-151-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
OpenPOWER on IntegriCloud