Chris Lattner 
							
						 
					 
					
						
						
							
						
						044698b39a 
					 
					
						
						
							
							Fix PR6921: globals were not getting correctly rounded up to their  
						
						 
						
						... 
						
						
						
						preferred alignment unless they were common or some other special
case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102300  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-25 05:30:43 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						44e05080f8 
					 
					
						
						
							
							Bill's change in r95336 broke empty aggregates embedded  
						
						 
						
						... 
						
						
						
						in other types.  fix this by only bumping zero-byte globals
up to a single byte if the *entire global* is zero size,
fixing PR6340.
This also fixes empty arrays etc to be handled correctly,
and only does this on subsection-via-symbols targets (aka
darwin) which is the only place where this matters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101879  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-20 06:20:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						0d805c33d1 
					 
					
						
						
							
							Add const qualifiers to TargetLoweringObjectFile usage.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101640  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-17 16:44:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f2548caaa8 
					 
					
						
						
							
							Add support to emit dwarf ranges.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101575  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-16 23:33:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						74aae4726a 
					 
					
						
						
							
							move elf section uniquing to MCContext.  Along the way  
						
						 
						
						... 
						
						
						
						merge XCore's section into MCSectionELF
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100812  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-08 21:26:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						75361b69f3 
					 
					
						
						
							
							rename llvm::llvm_report_error -> llvm::report_fatal_error  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 22:58:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						00d139064e 
					 
					
						
						
							
							tidy up  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100700  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 22:29:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c0561f29a8 
					 
					
						
						
							
							add a comment line that got dropped  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100638  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 18:10:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						9c4210794e 
					 
					
						
						
							
							Workaround the breakage in r100616 by guarding all timers with  
						
						 
						
						... 
						
						
						
						TimePassesIsEnabled. This should allow make check to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100618  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 10:44:46 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						a592e671ee 
					 
					
						
						
							
							Use raw_ostream.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 09:26:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						343b42e428 
					 
					
						
						
							
							Move printing of target-indepedent DEBUG_VALUE comments  
						
						 
						
						... 
						
						
						
						into AsmPrinter.  Target-dependent form is still generated
by FastISel and still handled in X86 code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100596  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-07 01:15:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						49d915bb9a 
					 
					
						
						
							
							Revert 100573, it's causing some testsuite problems.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100578  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 22:45:26 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						0a580d30e0 
					 
					
						
						
							
							Move printing of DEBUG_VALUE comments to target-independent place.  
						
						 
						
						... 
						
						
						
						There is probably a more elegant way to do this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100573  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 22:21:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						885d94143d 
					 
					
						
						
							
							propagate cookie management out one layer of function calls.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100510  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 00:58:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f778b57fc5 
					 
					
						
						
							
							Remove unnecessary include.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100505  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-06 00:38:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						49cd6649e1 
					 
					
						
						
							
							change AsmPrinter to use DwarfDebug/DwarfException directly  
						
						 
						
						... 
						
						
						
						instead of going through DwarfWriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100405  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 05:11:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						90429c487f 
					 
					
						
						
							
							just have all targets create the DwarfWriter.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100377  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 00:42:55 +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 
							
						 
					 
					
						
						
							
						
						af8df26495 
					 
					
						
						
							
							resolve a fixme.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100346  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 19:28:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c021572511 
					 
					
						
						
							
							move gettemplabel and getdwlabel to AsmPrinter and rename  
						
						 
						
						... 
						
						
						
						them for consistency.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100345  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 19:25:43 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						17fedf216b 
					 
					
						
						
							
							more interface cleanup make some helpers static functions.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100343  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:58:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3f53c8398d 
					 
					
						
						
							
							clean up the asmprinter header and privatize some stuff.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100342  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:52:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						736e31d0cf 
					 
					
						
						
							
							split inline asm support out to its own .cpp file.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100340  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:34:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						285199502b 
					 
					
						
						
							
							inline processDebugLoc and simplify it.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100339  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:18:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						dfa107e45a 
					 
					
						
						
							
							minor tidying.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100338  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:16:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						300a4c5640 
					 
					
						
						
							
							clean up the asmprinter interface a bit, rename a few  
						
						 
						
						... 
						
						
						
						"Print" methods to "Emit".  Emit is something that goes
to an mc streamer, Print is something that goes to a
raw_ostream (for inline asm) 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100337  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:14:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9d1c1ada21 
					 
					
						
						
							
							remove TargetMachine.h #include, also, TRI isn't used frequently  
						
						 
						
						... 
						
						
						
						enough to warrant caching in AsmPrinter, so remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100336  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 18:06:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e00b59f954 
					 
					
						
						
							
							lazily allocate the GCMetadataPrinters map and remove DenseMap  
						
						 
						
						... 
						
						
						
						from the AsmPrinter interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100331  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 17:57:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b23569aff0 
					 
					
						
						
							
							Momentous day: remove the "O" member from AsmPrinter.  Now all  
						
						 
						
						... 
						
						
						
						"asm printering" happens through MCStreamer.  This also 
Streamerizes PIC16 debug info, which escaped my attention.
This removes a leak from LLVMTargetMachine of the 'legacy'
output stream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100327  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 08:18:47 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						de0f339ec3 
					 
					
						
						
							
							now that all operand printing happens to specified streams, we can  
						
						 
						
						... 
						
						
						
						print function level inline asm with EmitInlineAsm instead of writing
it directly to "O".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100326  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 07:50:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						75f50725c1 
					 
					
						
						
							
							remove the raw_ostream from various dwarf printing things.  
						
						 
						
						... 
						
						
						
						The only thing left is LEB printing, which uses EmitRawText
for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100325  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 07:48:20 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7d73c7f0d6 
					 
					
						
						
							
							mcize the gc metadata printing stuff.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100324  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 07:39:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0b9bdb47bd 
					 
					
						
						
							
							use EmitRawText instead of O in DwarfPrinter.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100323  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 07:25:52 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c75c028a15 
					 
					
						
						
							
							fix PrintAsmOperand and PrintAsmMemoryOperand to pass down  
						
						 
						
						... 
						
						
						
						raw_ostream to print to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100313  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 05:29:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d32c8a5617 
					 
					
						
						
							
							change this back too  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100310  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 05:09:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e1783cadf7 
					 
					
						
						
							
							check in what I tested. :(  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100309  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 05:08:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c1e0b76306 
					 
					
						
						
							
							MMI is always available, rename O -> OS in printInlineAsm.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100308  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 05:07:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						35c33bd772 
					 
					
						
						
							
							change a ton of code to not implicitly use the "O" raw_ostream  
						
						 
						
						... 
						
						
						
						member of AsmPrinter.  Instead, pass it in explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100306  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-04 04:47:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0c08d09204 
					 
					
						
						
							
							asmstreamerize the .size directive for function bodies, force clients  
						
						 
						
						... 
						
						
						
						of printOffset to pass in a stream to print to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100296  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 22:28:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fd60b8b484 
					 
					
						
						
							
							emit the cygwin stub thing through mcstreamer.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100295  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 22:19:41 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						58bc4dd4a9 
					 
					
						
						
							
							add a twine form of MCStreamer::EmitRawText, and mc'ize  
						
						 
						
						... 
						
						
						
						a few more things in AsmPrinter.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100294  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 22:12:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f94f8dcda7 
					 
					
						
						
							
							start moving towards emitting inline asm statements with  
						
						 
						
						... 
						
						
						
						EmitInlineAsm.  However, this attempt is foiled by operands
being emitted directly to "O" so I'll have to do some surgery
and finish MCizing the world.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100291  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 22:01:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						91bead7905 
					 
					
						
						
							
							add a new EmitInlineAsm function to asmprinter to handle inline asm.  
						
						 
						
						... 
						
						
						
						If we have an MCAsmStreamer, we continue to emit asm textually, 
otherwise we (currently) emit an error to errs and ignore it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100289  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 21:35:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						47b7e5dae9 
					 
					
						
						
							
							mc'ize comment printing around file scope inline asm.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100288  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-03 21:13:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						de4845c163 
					 
					
						
						
							
							Switch the code generator (except the JIT) onto the new DebugLoc  
						
						 
						
						... 
						
						
						
						representation.  This eliminates the 'DILocation' MDNodes for 
file/line/col tuples from -O0 -g codegen.
This remove the old DebugLoc class, making it a typedef for DebugLoc,
I'll rename NewDebugLoc next.
I didn't update the JIT to use the new apis, so it will continue to
work, but be as slow as before.  Someone should eventually do this
or, better yet, rip out the JIT debug info stuff and build the JIT
on top of MC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100209  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-02 19:42:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						9b97a73ded 
					 
					
						
						
							
							Rip out the 'is temporary' nonsense from the MCContext interface to  
						
						 
						
						... 
						
						
						
						create symbols.  It is extremely error prone and a source of a lot
of the remaining integrated assembler bugs on x86-64.
This fixes rdar://7807601.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99902  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-30 18:10:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						553881bddc 
					 
					
						
						
							
							Refactor code to push DILocation prcessing into DwarfDebug.cpp from AsmPrinter.cpp.  
						
						 
						
						... 
						
						
						
						This is same as r99772 (which was reverted) with just one meaningful difference where two source lines exchanged their positions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99816  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-29 17:20:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						de9b1efbe5 
					 
					
						
						
							
							Revert 99772.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99778  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-28 21:23:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c7eae5ca4a 
					 
					
						
						
							
							Refactoring. Push DILocation processing in to DwarfDebug from AsmPrinter.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99772  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-28 18:57:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						93b122d3c4 
					 
					
						
						
							
							reapply r98656 unmodified, which exposed the asmprinter not  
						
						 
						
						... 
						
						
						
						handling constant unions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98680  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-16 21:25:55 +00:00