83e872e1c4 
								
							 
						 
						
							
							
								
								Get MCSymbol out of the mangling business, and move all the logic  
							
							... 
							
							
							
							to Mangler.  Now MCSymbol just decides whether to slap quotes around
a symbol when printing it.
This also fixes some weirdness where two MCSymbols could be created
for the same symbol, if one needed to be mangled and got mangled to
the other one.
llvm-svn: 93690 
							
						 
						
							2010-01-17 19:23:46 +00:00  
				
					
						
							
							
								 
						
							
								8361006264 
								
							 
						 
						
							
							
								
								expose a static function as a static method on the MCSymbol class.  
							
							... 
							
							
							
							llvm-svn: 93350 
							
						 
						
							2010-01-13 21:09:59 +00:00  
				
					
						
							
							
								 
						
							
								cdf0452ed2 
								
							 
						 
						
							
							
								
								Change errs() to dbgs().  
							
							... 
							
							
							
							llvm-svn: 92632 
							
						 
						
							2010-01-05 01:28:10 +00:00  
				
					
						
							
							
								 
						
							
								ad36e8aceb 
								
							 
						 
						
							
							
								
								Pass StringRef by value.  
							
							... 
							
							
							
							llvm-svn: 86251 
							
						 
						
							2009-11-06 10:58:06 +00:00  
				
					
						
							
							
								 
						
							
								592638ae05 
								
							 
						 
						
							
							
								
								Allow symbols to start from the digit if target requests it. This allows, e.g. pinning  
							
							... 
							
							
							
							variables to specified absolute address. Make use of this feature for MSP430.
This unbreaks PR4776.
llvm-svn: 82227 
							
						 
						
							2009-09-18 16:57:42 +00:00  
				
					
						
							
							
								 
						
							
								de79e4fc2e 
								
							 
						 
						
							
							
								
								fix MCSymbol printing on darwin to exactly match the mangler (handling of \n and " in a symbol name).  
							
							... 
							
							
							
							llvm-svn: 81683 
							
						 
						
							2009-09-13 18:11:09 +00:00  
				
					
						
							
							
								 
						
							
								3d6c8ebb58 
								
							 
						 
						
							
							
								
								Make the MC symbol printer and llvm::Mangler exactly agree on mangling  
							
							... 
							
							
							
							for systems that don't support quoting (PR4966).
llvm-svn: 81682 
							
						 
						
							2009-09-13 18:04:46 +00:00  
				
					
						
							
							
								 
						
							
								cada1c1012 
								
							 
						 
						
							
							
								
								allow @ in symbol names without quoting the identifier.  This  
							
							... 
							
							
							
							allows things like @PLT without quotes.
llvm-svn: 81296 
							
						 
						
							2009-09-09 00:14:09 +00:00  
				
					
						
							
							
								 
						
							
								1945453843 
								
							 
						 
						
							
							
								
								fix MCSymbol printing to exactly match the normal mangler rules so  
							
							... 
							
							
							
							we can diff .s files.
llvm-svn: 80894 
							
						 
						
							2009-09-03 05:57:47 +00:00  
				
					
						
							
							
								 
						
							
								f4366a3998 
								
							 
						 
						
							
							
								
								Thread an MCAsmInfo pointer through the various MC printing APIs,  
							
							... 
							
							
							
							and fix a few things using << on MCSymbols to use ->print(). No
functionality change other than unbreaking my previous patch.
llvm-svn: 80890 
							
						 
						
							2009-09-03 05:46:51 +00:00  
				
					
						
							
							
								 
						
							
								6860ac7375 
								
							 
						 
						
							
							
								
								llvm-mc: Clean up some handling of symbol/section association to be more correct  
							
							... 
							
							
							
							(external was really undefined and there wasn't an explicit representation for
absolute symbols).
 - This still needs some cleanup to how the absolute "pseudo" section is dealt
   with, but I haven't figured out the nicest approach yet.
llvm-svn: 79733 
							
						 
						
							2009-08-22 07:22:36 +00:00  
				
					
						
							
							
								 
						
							
								1a019d8554 
								
							 
						 
						
							
							
								
								Add MCSymbol::{print, dump}  
							
							... 
							
							
							
							llvm-svn: 78983 
							
						 
						
							2009-08-14 03:41:23 +00:00