Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								d59c0cac6c 
								
							 
						 
						
							
							
								
								Teach our Dwarf emission to use the string pool.  
							
							 
							
							... 
							
							
							
							llvm-svn: 143097 
							
						 
						
							2011-10-27 06:44:11 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								019d255d3e 
								
							 
						 
						
							
							
								
								Fix a lot of typos, improve (but not necessarily fix) grammaros and reflow some  
							
							 
							
							... 
							
							
							
							lines. No functionality change.
llvm-svn: 136458 
							
						 
						
							2011-07-29 03:49:23 +00:00  
						
					 
				
					
						
							
							
								 
								Cameron Zwarich
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								b037383a35 
								
							 
						 
						
							
							
								
								Enable DebugInfo support for COFF object files.  
							
							 
							
							... 
							
							
							
							Patch by Nathan Jeffords!
llvm-svn: 126425 
							
						 
						
							2011-02-24 21:04:00 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								1de21ec498 
								
							 
						 
						
							
							
								
								Use DW_FORM_addr for DW_AT_entry_pc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 107085 
							
						 
						
							2010-06-28 22:22:47 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f1429f1fe3 
								
							 
						 
						
							
							
								
								inline EmitDifference away.  
							
							 
							
							... 
							
							
							
							llvm-svn: 100347 
							
						 
						
							2010-04-04 19:58:12 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								9efd118938 
								
							 
						 
						
							
							
								
								move uleb/sleb printing into AsmPrinter from DwarfPrinter.  
							
							 
							
							... 
							
							
							
							llvm-svn: 100344 
							
						 
						
							2010-04-04 19:09:29 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Jeffrey Yasskin
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b245dfb408 
								
							 
						 
						
							
							
								
								inline away a form of IsPCRelative, eliminating the  
							
							 
							
							... 
							
							
							
							dead IsPCRel argument.
llvm-svn: 98117 
							
						 
						
							2010-03-10 01:17:49 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3d72a678de 
								
							 
						 
						
							
							
								
								eliminate a bunch of \n's that are being printed to O.  Next up is to kill  
							
							 
							
							... 
							
							
							
							off "EOL".
llvm-svn: 98102 
							
						 
						
							2010-03-09 23:38:23 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								7c2005aa6d 
								
							 
						 
						
							
							
								
								Fix to get it to compile.  
							
							 
							
							... 
							
							
							
							llvm-svn: 95840 
							
						 
						
							2010-02-11 01:15:27 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								6034260c43 
								
							 
						 
						
							
							
								
								Don't print out a default newline when emitting the section offset. There are  
							
							 
							
							... 
							
							
							
							almost always comments afterwards that need printing.
llvm-svn: 95839 
							
						 
						
							2010-02-11 01:13:02 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c3f23b84ea 
								
							 
						 
						
							
							
								
								remove one form of EmitString, just use EmitBytes instead.  We must  
							
							 
							
							... 
							
							
							
							be careful to add a \0 at the end though, because EmitString didn't
do this.
llvm-svn: 94277 
							
						 
						
							2010-01-23 03:11:46 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								2303145081 
								
							 
						 
						
							
							
								
								move sleb printing out of asmprinter into dwarf printer, make clients  
							
							 
							
							... 
							
							
							
							handle the comment better, MCize the non-.sleb case.
llvm-svn: 94244 
							
						 
						
							2010-01-22 22:56:55 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f5c834fce1 
								
							 
						 
						
							
							
								
								inline away the trivial AsmPrinter::EOL() method.  
							
							 
							
							... 
							
							
							
							llvm-svn: 94230 
							
						 
						
							2010-01-22 22:09:00 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								71601e8b3b 
								
							 
						 
						
							
							
								
								eliminate some uses of AsmPrinter::EmitIntXXX  
							
							 
							
							... 
							
							
							
							llvm-svn: 93996 
							
						 
						
							2010-01-20 07:41:15 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								4d128a2387 
								
							 
						 
						
							
							
								
								Switch some functions to take Twines, eliminate uses of StringExtras.h.  
							
							 
							
							... 
							
							
							
							llvm-svn: 93680 
							
						 
						
							2010-01-17 07:46:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								06d45f6e75 
								
							 
						 
						
							
							
								
								Change DIEObjectLabel to take an MCSymbol instead of std::string.  
							
							 
							
							... 
							
							
							
							llvm-svn: 93647 
							
						 
						
							2010-01-16 18:50:28 +00:00  
						
					 
				
					
						
							
							
								 
								David Greene
							
						 
						
							 
							
							
							
							
								
							
							
								8bc072cda6 
								
							 
						 
						
							
							
								
								Change errs() to dbgs().  
							
							 
							
							... 
							
							
							
							llvm-svn: 92094 
							
						 
						
							2009-12-24 00:27:55 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								930143b0dc 
								
							 
						 
						
							
							
								
								Cosmetic changes, which were long overdue, in DwarfDebug.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 89537 
							
						 
						
							2009-11-21 02:48:08 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								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  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7b26fce23e 
								
							 
						 
						
							
							
								
								Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 79763 
							
						 
						
							2009-08-22 20:48:53 +00:00  
						
					 
				
					
						
							
							
								 
								Torok Edwin
							
						 
						
							 
							
							
							
							
								
							
							
								fbcc663cbf 
								
							 
						 
						
							
							
								
								llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2009-07-14 16:55:14 +00:00  
						
					 
				
					
						
							
							
								 
								Torok Edwin
							
						 
						
							 
							
							
							
							
								
							
							
								56d0659726 
								
							 
						 
						
							
							
								
								assert(0) -> LLVM_UNREACHABLE.  
							
							 
							
							... 
							
							
							
							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 
							
						 
						
							2009-07-11 20:10:48 +00:00  
						
					 
				
					
						
							
							
								 
								Owen Anderson
							
						 
						
							 
							
							
							
							
								
							
							
								19c4b66830 
								
							 
						 
						
							
							
								
								Down with _even more_ statics!  
							
							 
							
							... 
							
							
							
							llvm-svn: 74137 
							
						 
						
							2009-06-24 23:13:56 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								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