Micah Villmow 
							
						 
					 
					
						
						
							
						
						f3840d2c16 
					 
					
						
						
							
							Add in the first iteration of support for llvm/clang/lldb to allow variable per address space pointer sizes to be optimized correctly.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165726  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-11 17:21:41 +00:00 
						 
				 
			
				
					
						
							
							
								Micah Villmow 
							
						 
					 
					
						
						
							
						
						3574eca1b0 
					 
					
						
						
							
							Move TargetData to DataLayout.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-10-08 16:38:25 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						4984e01fd5 
					 
					
						
						
							
							80-col fixup.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163569  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-10 23:34:03 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						17dd9a992a 
					 
					
						
						
							
							Clean this up slightly, doesn't really fall through.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162848  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-08-29 17:59:32 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						873cf0a0d7 
					 
					
						
						
							
							Use DW_FORM_flag_present to save space in debug information if we're  
						
						... 
						
						
						
						not in darwin gdb compat mode.
Fixes rdar://10975088
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162526  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-08-24 01:14:27 +00:00 
						 
				 
			
				
					
						
							
							
								Craig Topper 
							
						 
					 
					
						
						
							
						
						5e25ee8a1f 
					 
					
						
						
							
							Convert assert(0) to llvm_unreachable  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149816  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-05 08:31:47 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						8a69834935 
					 
					
						
						
							
							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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148794  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-01-24 09:43:28 +00:00 
						 
				 
			
				
					
						
							
							
								David Blaikie 
							
						 
					 
					
						
						
							
						
						4d6ccb5f68 
					 
					
						
						
							
							More dead code removal (using -Wunreachable-code)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148578  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-01-20 21:51:11 +00:00 
						 
				 
			
				
					
						
							
							
								David Blaikie 
							
						 
					 
					
						
						
							
						
						2d24e2a396 
					 
					
						
						
							
							Unweaken vtables as per  http://llvm.org/docs/CodingStandards.html#ll_virtual_anch  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-12-20 02:50:00 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						41a964931a 
					 
					
						
						
							
							Add more PRI.64 macros for MSVC and use them throughout the codebase.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-11-05 08:57:40 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						6a7efcfc02 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143186  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-28 05:29:47 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						390c40d96a 
					 
					
						
						
							
							Teach our Dwarf emission to use the string pool.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143097  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-27 06:44:11 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						3bbb6f79b7 
					 
					
						
						
							
							Fix a lot of typos, improve (but not necessarily fix) grammaros and reflow some  
						
						... 
						
						
						
						lines. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136458  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-29 03:49:23 +00:00 
						 
				 
			
				
					
						
							
							
								Cameron Zwarich 
							
						 
					 
					
						
						
							
						
						f754f50805 
					 
					
						
						
							
							Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126488  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-25 16:30:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f410608271 
					 
					
						
						
							
							Enable DebugInfo support for COFF object files.  
						
						... 
						
						
						
						Patch by Nathan Jeffords!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126425  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-24 21:04:00 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9b93b6b49a 
					 
					
						
						
							
							Use DW_FORM_addr for DW_AT_entry_pc.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107085  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 22:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a37d5387a5 
					 
					
						
						
							
							change SizeOf to take AsmPrinter instead of TargetData,  
						
						... 
						
						
						
						simplifying a bunch of code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100373  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 00:18:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d38fee8ddc 
					 
					
						
						
							
							1) make DIE take AsmPrinter instead of DwarfPrinter.  
						
						... 
						
						
						
						2) change DwarfDebug to not inherit from DwarfPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100372  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 00:13:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a64371828e 
					 
					
						
						
							
							inline EmitDifference away.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100347  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 19:58:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7e1a8f882f 
					 
					
						
						
							
							move uleb/sleb printing into AsmPrinter from DwarfPrinter.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100344  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 19:09:29 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						345ef343cc 
					 
					
						
						
							
							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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100035  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-31 19:34:01 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0493f95a2c 
					 
					
						
						
							
							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.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99223  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-22 22:38:48 +00:00 
						 
				 
			
				
					
						
							
							
								Jeffrey Yasskin 
							
						 
					 
					
						
						
							
						
						638fe8dd62 
					 
					
						
						
							
							Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValue  
						
						... 
						
						
						
						it allocates to DwarfDebug::DIEValues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-22 18:47:14 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d85fc6e0b1 
					 
					
						
						
							
							inline away a form of IsPCRelative, eliminating the  
						
						... 
						
						
						
						dead IsPCRel argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98117  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-10 01:17:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0d9d70f013 
					 
					
						
						
							
							eliminate a bunch of \n's that are being printed to O.  Next up is to kill  
						
						... 
						
						
						
						off "EOL".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98102  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-09 23:38:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						57578766aa 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98005  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-08 23:23:25 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4faf59af82 
					 
					
						
						
							
							merge DIEObjectLabel and DIEDwarfLabel into DIELabel.  
						
						... 
						
						
						
						Yes, DIE you fiendish labels, die all of you.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97995  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-08 22:31:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b98b1bf432 
					 
					
						
						
							
							elimiante the DWLabel class, using MCSymbol instead.  Start  
						
						... 
						
						
						
						switching some stuff over to passing around MCSymbol* instead
of stem+ID.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97993  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-08 22:23:36 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						ca51d05138 
					 
					
						
						
							
							Fix to get it to compile.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95840  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-02-11 01:15:27 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						4cb4895e41 
					 
					
						
						
							
							Don't print out a default newline when emitting the section offset. There are  
						
						... 
						
						
						
						almost always comments afterwards that need printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95839  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-02-11 01:13:02 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4cf202ba06 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94277  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-23 03:11:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						894d75aa01 
					 
					
						
						
							
							move uleb printing from asmprinter to dwarfprinter, mcize,  
						
						... 
						
						
						
						cleanup and eliminate a bunch more uses of "EOL".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94250  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-22 23:18:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bb9078a6b2 
					 
					
						
						
							
							move sleb printing out of asmprinter into dwarf printer, make clients  
						
						... 
						
						
						
						handle the comment better, MCize the non-.sleb case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-22 22:56:55 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						066c9acca3 
					 
					
						
						
							
							rename the dwarf class to DwarfPrinter.  This matches the filename  
						
						... 
						
						
						
						and much more accurately describes what it is all about.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94233  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-22 22:23:57 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0ad9c911f5 
					 
					
						
						
							
							inline away the trivial AsmPrinter::EOL() method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94230  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-22 22:09:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						bcb83e5b6c 
					 
					
						
						
							
							eliminate some uses of AsmPrinter::EmitIntXXX  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93996  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-20 07:41:15 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						1efd4fd56b 
					 
					
						
						
							
							Switch some functions to take Twines, eliminate uses of StringExtras.h.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93680  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-17 07:46:39 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						858431d0bc 
					 
					
						
						
							
							Change DIEObjectLabel to take an MCSymbol instead of std::string.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93647  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-16 18:50:28 +00:00 
						 
				 
			
				
					
						
							
							
								David Greene 
							
						 
					 
					
						
						
							
						
						0c8b6e6bc5 
					 
					
						
						
							
							Change errs() to dbgs().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92094  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-12-24 00:27:55 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2c4ceb177b 
					 
					
						
						
							
							Cosmetic changes, which were long overdue, in DwarfDebug.cpp.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89537  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-21 02:48:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6f01d9c2f0 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89518  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-21 00:31:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b01acfae5b 
					 
					
						
						
							
							convert the DIE printing stuff to use raw_ostream instead of std::ostream.  
						
						... 
						
						
						
						Tweak #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79800  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-23 01:01:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						af76e592c7 
					 
					
						
						
							
							Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-22 20:48:53 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						c23197a26f 
					 
					
						
						
							
							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").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75640  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 16:55:14 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						c25e7581b9 
					 
					
						
						
							
							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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75379  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-11 20:10:48 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d5509f2e02 
					 
					
						
						
							
							Down with _even more_ statics!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74137  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-24 23:13:56 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						88423eecd0 
					 
					
						
						
							
							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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71821  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-15 00:11:17 +00:00