summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.h
Commit message (Collapse)AuthorAgeFilesLines
* Bit pack DIE structures better.Benjamin Kramer2012-01-241-23/+23
| | | | | | 16 bits are sufficient to store attributes, tags and forms. llvm-svn: 148799
* Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it.Eric Christopher2012-01-241-10/+0
| | | | | | | | Saves about 1.5% on debug info size. rdar://10278198 llvm-svn: 148794
* Unweaken vtables as per ↵David Blaikie2011-12-201-0/+1
| | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960
* Always use the string pool, even when it makes the .o larger. This may helpNick Lewycky2011-10-281-27/+0
| | | | | | | tools that read the debug info in the .o files by making the DIE sizes more consistent. llvm-svn: 143186
* Remove dead enum value. There is no DIESectionOffset.Nick Lewycky2011-10-251-1/+0
| | | | llvm-svn: 142912
* Fix some typo/formatting issues. No functionality change.Nick Lewycky2011-10-181-2/+2
| | | | llvm-svn: 142435
* Remove unused virtual dtor.Benjamin Kramer2011-03-091-1/+0
| | | | llvm-svn: 127331
* Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.Cameron Zwarich2011-02-251-30/+0
| | | | llvm-svn: 126488
* Enable DebugInfo support for COFF object files.Devang Patel2011-02-241-0/+30
| | | | | | Patch by Nathan Jeffords! llvm-svn: 126425
* First cut at supporting .debug_loc section. Devang Patel2010-05-251-0/+4
| | | | | | This is used to track variable information. llvm-svn: 104649
* Add support to emit dwarf ranges.Devang Patel2010-04-161-1/+2
| | | | llvm-svn: 101575
* change SizeOf to take AsmPrinter instead of TargetData, Chris Lattner2010-04-051-9/+8
| | | | | | simplifying a bunch of code. llvm-svn: 100373
* 1) make DIE take AsmPrinter instead of DwarfPrinter.Chris Lattner2010-04-051-9/+8
| | | | | | 2) change DwarfDebug to not inherit from DwarfPrinter. llvm-svn: 100372
* DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them areBenjamin Kramer2010-03-311-1/+1
| | | | | | | | | 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-32/+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-2/+4
| | | | | | it allocates to DwarfDebug::DIEValues. llvm-svn: 99196
* Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness ofJeffrey Yasskin2010-03-121-5/+2
| | | | | | several fields to make it easier to figure out where bugs might be creeping in. llvm-svn: 98358
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-3/+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-34/+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-9/+10
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Revert r97917, which was causing Clang Debug self-host failures.Douglas Gregor2010-03-081-1/+3
| | | | llvm-svn: 97932
* Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.Jeffrey Yasskin2010-03-071-3/+1
| | | | llvm-svn: 97917
* teach MCAsmStreamer::EmitBytes to use .ascii and .ascizChris Lattner2010-01-231-1/+1
| | | | llvm-svn: 94259
* move uleb printing from asmprinter to dwarfprinter, mcize,Chris Lattner2010-01-221-1/+1
| | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
* rename the dwarf class to DwarfPrinter. This matches the filenameChris Lattner2010-01-221-10/+10
| | | | | | and much more accurately describes what it is all about. llvm-svn: 94233
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-161-3/+4
| | | | llvm-svn: 93647
* Add support to emit debug info for C++ namespaces.Devang Patel2009-12-151-8/+12
| | | | llvm-svn: 91440
* Clarify that DIEString does not keep a copy of the string.Devang Patel2009-12-021-1/+1
| | | | llvm-svn: 90318
* Use StringRef instead of std::string in DIEString.Devang Patel2009-11-241-2/+2
| | | | llvm-svn: 89793
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-211-13/+7
| | | | llvm-svn: 89537
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-211-50/+2
| | | | | | 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
* Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507.Nick Lewycky2009-11-171-12/+12
| | | | llvm-svn: 89075
* convert the DIE printing stuff to use raw_ostream instead of std::ostream.Chris Lattner2009-08-231-22/+12
| | | | | | Tweak #includes. llvm-svn: 79800
* Down with _even more_ statics!Owen Anderson2009-06-241-1/+5
| | | | llvm-svn: 74137
* Split out the DwarfDebug module from the DwarfWriter module.Bill Wendling2009-05-151-2/+2
| | | | | | Again, no intendtional functionality change. llvm-svn: 71854
* Mark class as hidden.Bill Wendling2009-05-151-1/+1
| | | | llvm-svn: 71850
* Split out the Dwarf writer stuff into separate files. This is a much moreBill Wendling2009-05-151-0/+549
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