8aefffca4c 
								
							 
						 
						
							
							
								
								Bit pack DIE structures better.  
							
							... 
							
							
							
							16 bits are sufficient to store attributes, tags and forms.
llvm-svn: 148799 
							
						 
						
							2012-01-24 12:08:28 +00:00  
				
					
						
							
							
								 
						
							
								3e8ccc2000 
								
							 
						 
						
							
							
								
								Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it.  
							
							... 
							
							
							
							Saves about 1.5% on debug info size.
rdar://10278198
llvm-svn: 148794 
							
						 
						
							2012-01-24 09:43:28 +00:00  
				
					
						
							
							
								 
						
							
								a379b18173 
								
							 
						 
						
							
							
								
								Unweaken vtables as per  http://llvm.org/docs/CodingStandards.html#ll_virtual_anch  
							
							... 
							
							
							
							llvm-svn: 146960 
							
						 
						
							2011-12-20 02:50:00 +00:00  
				
					
						
							
							
								 
						
							
								cc64ae140d 
								
							 
						 
						
							
							
								
								Always use the string pool, even when it makes the .o larger. This may help  
							
							... 
							
							
							
							tools that read the debug info in the .o files by making the DIE sizes more
consistent.
llvm-svn: 143186 
							
						 
						
							2011-10-28 05:29:47 +00:00  
				
					
						
							
							
								 
						
							
								d75675ab3b 
								
							 
						 
						
							
							
								
								Remove dead enum value. There is no DIESectionOffset.  
							
							... 
							
							
							
							llvm-svn: 142912 
							
						 
						
							2011-10-25 07:05:26 +00:00  
				
					
						
							
							
								 
						
							
								5ca33ac926 
								
							 
						 
						
							
							
								
								Fix some typo/formatting issues. No functionality change.  
							
							... 
							
							
							
							llvm-svn: 142435 
							
						 
						
							2011-10-18 22:39:43 +00:00  
				
					
						
							
							
								 
						
							
								84fccb64c3 
								
							 
						 
						
							
							
								
								Remove unused virtual dtor.  
							
							... 
							
							
							
							llvm-svn: 127331 
							
						 
						
							2011-03-09 14:20:28 +00:00  
				
					
						
							
							
								 
						
							
								fcf51fd298 
								
							 
						 
						
							
							
								
								Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.  
							
							... 
							
							
							
							llvm-svn: 126488 
							
						 
						
							2011-02-25 16:30:32 +00:00  
				
					
						
							
							
								 
						
							
								b037383a35 
								
							 
						 
						
							
							
								
								Enable DebugInfo support for COFF object files.  
							
							... 
							
							
							
							Patch by Nathan Jeffords!
llvm-svn: 126425 
							
						 
						
							2011-02-24 21:04:00 +00:00  
				
					
						
							
							
								 
						
							
								9fc11706e3 
								
							 
						 
						
							
							
								
								First cut at supporting .debug_loc section.  
							
							... 
							
							
							
							This is used to track variable information.
llvm-svn: 104649 
							
						 
						
							2010-05-25 23:40:22 +00:00  
				
					
						
							
							
								 
						
							
								12563b3495 
								
							 
						 
						
							
							
								
								Add support to emit dwarf ranges.  
							
							... 
							
							
							
							llvm-svn: 101575 
							
						 
						
							2010-04-16 23:33:45 +00:00  
				
					
						
							
							
								 
						
							
								5a00dea332 
								
							 
						 
						
							
							
								
								change SizeOf to take AsmPrinter instead of TargetData,  
							
							... 
							
							
							
							simplifying a bunch of code.
llvm-svn: 100373 
							
						 
						
							2010-04-05 00:18:22 +00:00  
				
					
						
							
							
								 
						
							
								3a383cb7d9 
								
							 
						 
						
							
							
								
								1) make DIE take AsmPrinter instead of DwarfPrinter.  
							
							... 
							
							
							
							2) change DwarfDebug to not inherit from DwarfPrinter.
llvm-svn: 100372 
							
						 
						
							2010-04-05 00:13:49 +00:00  
				
					
						
							
							
								 
						
							
								74729ae094 
								
							 
						 
						
							
							
								
								DwarfDebug: Allocate DIEValues with a BumpPtrAllocator. Most of them are  
							
							... 
							
							
							
							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 
							
						 
						
							2010-03-31 19:34:01 +00:00  
				
					
						
							
							
								 
						
							
								53e91f0836 
								
							 
						 
						
							
							
								
								DW_AT_stmt_list attribute attached with a compile unit encodes offset of 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 
							
						 
						
							2010-03-22 22:38:48 +00:00  
				
					
						
							
							
								 
						
							
								54ebc986b1 
								
							 
						 
						
							
							
								
								Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValue  
							
							... 
							
							
							
							it allocates to DwarfDebug::DIEValues.
llvm-svn: 99196 
							
						 
						
							2010-03-22 18:47:14 +00:00  
				
					
						
							
							
								 
						
							
								35b4e4f641 
								
							 
						 
						
							
							
								
								Free DbgScopes in DwarfDebug::endFunction().  Also increased the const-ness of  
							
							... 
							
							
							
							several fields to make it easier to figure out where bugs might be creeping in.
llvm-svn: 98358 
							
						 
						
							2010-03-12 17:45:06 +00:00  
				
					
						
							
							
								 
						
							
								27a9732450 
								
							 
						 
						
							
							
								
								simplify EmitSectionOffset to always use .set if it is  
							
							... 
							
							
							
							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 
							
						 
						
							2010-03-08 23:23:25 +00:00  
				
					
						
							
							
								 
						
							
								8dcf41ed66 
								
							 
						 
						
							
							
								
								merge DIEObjectLabel and DIEDwarfLabel into DIELabel.  
							
							... 
							
							
							
							Yes, DIE you fiendish labels, die all of you.
llvm-svn: 97995 
							
						 
						
							2010-03-08 22:31:46 +00:00  
				
					
						
							
							
								 
						
							
								bc9210cb70 
								
							 
						 
						
							
							
								
								elimiante the DWLabel class, using MCSymbol instead.  Start  
							
							... 
							
							
							
							switching some stuff over to passing around MCSymbol* instead
of stem+ID.
llvm-svn: 97993 
							
						 
						
							2010-03-08 22:23:36 +00:00  
				
					
						
							
							
								 
						
							
								9abb538be0 
								
							 
						 
						
							
							
								
								Revert r97917, which was causing Clang Debug self-host failures.  
							
							... 
							
							
							
							llvm-svn: 97932 
							
						 
						
							2010-03-08 02:58:37 +00:00  
				
					
						
							
							
								 
						
							
								37a0372fc4 
								
							 
						 
						
							
							
								
								Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie.  
							
							... 
							
							
							
							llvm-svn: 97917 
							
						 
						
							2010-03-07 17:10:13 +00:00  
				
					
						
							
							
								 
						
							
								ded9af63bb 
								
							 
						 
						
							
							
								
								teach MCAsmStreamer::EmitBytes to use .ascii and .asciz  
							
							... 
							
							
							
							llvm-svn: 94259 
							
						 
						
							2010-01-23 00:15:00 +00:00  
				
					
						
							
							
								 
						
							
								fa82355f33 
								
							 
						 
						
							
							
								
								move uleb printing from asmprinter to dwarfprinter, mcize,  
							
							... 
							
							
							
							cleanup and eliminate a bunch more uses of "EOL".
llvm-svn: 94250 
							
						 
						
							2010-01-22 23:18:42 +00:00  
				
					
						
							
							
								 
						
							
								69bb026835 
								
							 
						 
						
							
							
								
								rename the dwarf class to DwarfPrinter.  This matches the filename  
							
							... 
							
							
							
							and much more accurately describes what it is all about.
llvm-svn: 94233 
							
						 
						
							2010-01-22 22:23:57 +00:00  
				
					
						
							
							
								 
						
							
								06d45f6e75 
								
							 
						 
						
							
							
								
								Change DIEObjectLabel to take an MCSymbol instead of std::string.  
							
							... 
							
							
							
							llvm-svn: 93647 
							
						 
						
							2010-01-16 18:50:28 +00:00  
				
					
						
							
							
								 
						
							
								1f4690c624 
								
							 
						 
						
							
							
								
								Add support to emit debug info for C++ namespaces.  
							
							... 
							
							
							
							llvm-svn: 91440 
							
						 
						
							2009-12-15 19:16:48 +00:00  
				
					
						
							
							
								 
						
							
								8c33959df2 
								
							 
						 
						
							
							
								
								Clarify that DIEString does not keep a copy of the string.  
							
							... 
							
							
							
							llvm-svn: 90318 
							
						 
						
							2009-12-02 15:25:16 +00:00  
				
					
						
							
							
								 
						
							
								b3e0168428 
								
							 
						 
						
							
							
								
								Use StringRef instead of std::string in DIEString.  
							
							... 
							
							
							
							llvm-svn: 89793 
							
						 
						
							2009-11-24 19:42:17 +00:00  
				
					
						
							
							
								 
						
							
								930143b0dc 
								
							 
						 
						
							
							
								
								Cosmetic changes, which were long overdue, in DwarfDebug.cpp.  
							
							... 
							
							
							
							llvm-svn: 89537 
							
						 
						
							2009-11-21 02:48:08 +00:00  
				
					
						
							
							
								 
						
							
								92e8c655b2 
								
							 
						 
						
							
							
								
								There is no need to use FoldingSet to unique DIEs.  
							
							... 
							
							
							
							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 
							
						 
						
							2009-11-21 00:31:03 +00:00  
				
					
						
							
							
								 
						
							
								a1c09d674e 
								
							 
						 
						
							
							
								
								Remove VISIBILITY_HIDDEN from the classes in this directory. Fixes bug 5507.  
							
							... 
							
							
							
							llvm-svn: 89075 
							
						 
						
							2009-11-17 09:17:08 +00:00  
				
					
						
							
							
								 
						
							
								7472571531 
								
							 
						 
						
							
							
								
								convert the DIE printing stuff to use raw_ostream instead of std::ostream.  
							
							... 
							
							
							
							Tweak #includes.
llvm-svn: 79800 
							
						 
						
							2009-08-23 01:01:17 +00:00  
				
					
						
							
							
								 
						
							
								19c4b66830 
								
							 
						 
						
							
							
								
								Down with _even more_ statics!  
							
							... 
							
							
							
							llvm-svn: 74137 
							
						 
						
							2009-06-24 23:13:56 +00:00  
				
					
						
							
							
								 
						
							
								2f921f82e4 
								
							 
						 
						
							
							
								
								Split out the DwarfDebug module from the DwarfWriter module.  
							
							... 
							
							
							
							Again, no intendtional functionality change.
llvm-svn: 71854 
							
						 
						
							2009-05-15 09:23:25 +00:00  
				
					
						
							
							
								 
						
							
								1c5fd604b3 
								
							 
						 
						
							
							
								
								Mark class as hidden.  
							
							... 
							
							
							
							llvm-svn: 71850 
							
						 
						
							2009-05-15 06:55:26 +00:00  
				
					
						
							
							
								 
						
							
								47054f3d57 
								
							 
						 
						
							
							
								
								Split out the Dwarf writer stuff into separate files. This is a much more  
							
							... 
							
							
							
							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 
							
						 
						
							2009-05-15 00:11:17 +00:00