Chris Lattner 
							
						 
					 
					
						
						
							
						
						a955853961 
					 
					
						
						
							
							fix indentation and 80 cols  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108460  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-15 21:19:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						38e59891ee 
					 
					
						
						
							
							Don't pass StringRef by reference.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108366  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-14 22:38:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						5146a0970d 
					 
					
						
						
							
							MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 21:23:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9c23d7f25e 
					 
					
						
						
							
							MC/AsmParser: Move Darwin specific parse to DarwinAsmParser.cpp.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108193  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 20:51:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4d5fe97c47 
					 
					
						
						
							
							MC/AsmParser: Move .section parsing to Darwin specific parser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108190  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 20:42:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						47f5608029 
					 
					
						
						
							
							MC/AsmParser: Move special section directive parsing to Darwin specific parser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108187  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 20:23:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						7a56fc224c 
					 
					
						
						
							
							MC/AsmParser: Add a basic ELFAsmParser extension.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108185  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 20:08:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4c7c08bfbf 
					 
					
						
						
							
							MC/AsmParser: Inline AsmParser::CreateSymbol into callers.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108183  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 19:52:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						b6c3a607ac 
					 
					
						
						
							
							MC/AsmParser: Move .tbss and .zerofill parsing to Darwin specific parser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108180  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 19:37:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						492b7a21cb 
					 
					
						
						
							
							MC/AsmParser: Move .desc parsing to Darwin specific parser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108179  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 19:22:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						38a4e2acb7 
					 
					
						
						
							
							MC/AsmParser: Move .lsym parsing to Darwin specific parser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108176  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 19:08:25 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9ac66b008d 
					 
					
						
						
							
							MC/AsmParser: Move some misc. Darwin directive handling to DarwinAsmParser.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108174  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 18:49:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						e47497087b 
					 
					
						
						
							
							MC/AsmParser: Add a DarwinAsmParser extension.  
						
						 
						
						... 
						
						
						
						- Currently initialization is a bit of a hack, but harmless. We need to rework
   various parts of target initialization to clean this up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108165  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 18:12:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						8f34bead90 
					 
					
						
						
							
							MC/AsmParser: Switch a bunch of directive parsing to use accessors.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108163  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 18:03:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						81ea00f45d 
					 
					
						
						
							
							MCAsmParser: Pull some directive handling out into a helper class, and change  
						
						 
						
						... 
						
						
						
						DirectiveMap to be based on MCAsmParserExtension.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108161  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 17:54:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						eceec05c82 
					 
					
						
						
							
							MC/AsmParser: Switch some directive parsing to use accessor methods.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108160  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 17:45:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						53131982d6 
					 
					
						
						
							
							MC: Add MCAsmParserExtension, a base class for all the target/object specific  
						
						 
						
						... 
						
						
						
						classes which want to extend the basic asm parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108158  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 17:27:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						dc4c7da5d4 
					 
					
						
						
							
							MC: Move AsmParser::TokError to MCAsmParser().  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108155  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 17:18:45 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						3472766f9e 
					 
					
						
						
							
							Convert some tab stops into spaces.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 08:16:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						f59cac5ed3 
					 
					
						
						
							
							Added the darwin .weak_def_can_be_hidden directive.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107886  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-08 17:22:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						b570968424 
					 
					
						
						
							
							MC: Fix some stray hunks I didn't intend to commit.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107428  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-01 20:48:51 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						9186fa6b0c 
					 
					
						
						
							
							MC: Pass the target instance to the AsmParser constructor.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107426  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-01 20:41:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						839348a9f0 
					 
					
						
						
							
							MC: Fix an error message.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107424  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-01 20:20:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						44886ac5eb 
					 
					
						
						
							
							Remove unused calls to Lexer.getLoc and the pointless variable HasFillExpr.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107136  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-29 13:24:40 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						f187ac5a23 
					 
					
						
						
							
							Added the darwin .secure_log_unique and .secure_log_reset directives.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107077  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 21:45:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						414c0c43d3 
					 
					
						
						
							
							llvm-mc: Use EmitIntValue where possible, which makes the API calls from the AsmParser and CodeGen line up better.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104467  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-23 18:36:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						01777ff094 
					 
					
						
						
							
							llvm-mc: Use AddBlankLine in asm parser. This makes transliteration match the input much more closely, and also makes the API calls from the AsmParser and CodeGen line up better.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104466  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-23 18:36:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Fleming 
							
						 
					 
					
						
						
							
						
						924c5e58f2 
					 
					
						
						
							
							Add support for parsing the ELF .type assembler directive.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104316  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-21 11:36:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a7f1354eb5 
					 
					
						
						
							
							fix rdar://7986634 - match instruction opcodes case insensitively.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104183  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-19 23:34:33 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						4d01cbe93b 
					 
					
						
						
							
							Make EmitTBSSSymbol take a section argument so that we can find it later.  
						
						 
						
						... 
						
						
						
						Fix up callers and users.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104057  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-18 21:16:04 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin Enderby 
							
						 
					 
					
						
						
							
						
						ebe7fcd041 
					 
					
						
						
							
							Added support in MC for Directional Local Labels.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103989  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-17 23:08:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						c6177a4531 
					 
					
						
						
							
							More data/parsing support for tls directives.  Add a few more testcases  
						
						 
						
						... 
						
						
						
						and cleanup comments as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103985  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-17 22:53:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						648ac5153e 
					 
					
						
						
							
							MC/Mach-O/x86: Optimal nop sequences should only be used for the .text sections, not all sections in the text segment.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103981  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-17 21:54:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						525a3a67c1 
					 
					
						
						
							
							llvm-mc: Support reassignment of variables in one special case, when the  
						
						 
						
						... 
						
						
						
						variable has not yet been used in an expression. This allows us to support a few
cases that show up in real code (mostly because gcc generates it for Objective-C
on Darwin), without giving up a reasonable semantic model for assignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103950  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-17 17:46:23 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						d04d98d24f 
					 
					
						
						
							
							Assume that we'll handle mangling the symbols earlier and just put the  
						
						 
						
						... 
						
						
						
						symbol to the file as we have it.  Simplifies out tbss handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-17 02:13:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						482eba054a 
					 
					
						
						
							
							Add AsmParser support for darwin tbss directive.  
						
						 
						
						... 
						
						
						
						Nothing uses this yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103757  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-14 01:50:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						c260a3e59a 
					 
					
						
						
							
							Fix a couple of typos.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103756  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-14 01:38:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7bb7c55a61 
					 
					
						
						
							
							fix rdar://7965971 and a fixme: use ParseIdentifier in  
						
						 
						
						... 
						
						
						
						ParseDirectiveDarwinZerofill instead of hard coding the
check for identifier. This allows quoted symbol names to
be used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103682  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-13 00:10:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						c304718fd8 
					 
					
						
						
							
							MC: Reject attempts to define a variable symbol.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103111  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-05 19:01:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						08a408a4b3 
					 
					
						
						
							
							MC: Rename MCSymbol::{g,s}etValue -> MCSymbol::{g,s}etVariableValue.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103095  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-05 17:41:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						31e8e1d085 
					 
					
						
						
							
							llvm-mc: Fix case were we would skip a line in the .s file after an instruction  
						
						 
						
						... 
						
						
						
						match failure.
Also, fixes a few memory leak FIXMEs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102986  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-04 00:33:07 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7834facff9 
					 
					
						
						
							
							refactor .if handling code a bit.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101659  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-17 18:14:27 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d305035155 
					 
					
						
						
							
							implement mc asmparser support for '.', which gets the  
						
						 
						
						... 
						
						
						
						current PC.  rdar://7834775
We now produce an identical .o file compared to the cctools
assembler for something like this:
_f0:
L0:
        jmp L1
        .long . - L0
L1:
        jmp A
        .long . - L1
        .zerofill __DATA,_bss,A,0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101227  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-14 04:40:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f0559e4b24 
					 
					
						
						
							
							move macho section uniquing from MCParser and TLOF to MCContext where  
						
						 
						
						... 
						
						
						
						the compiler and asmparser now unique to the same sections.  This fixes
rdar://7835021.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100807  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-08 20:30:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						79180e2ef5 
					 
					
						
						
							
							Give AsmParser an option to control whether it finalizes  
						
						 
						
						... 
						
						
						
						the stream.  New demo:
$ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o
$ otool -tv t.o
t.o:
(__TEXT,__text) section
_foo:
0000000000000000	subq	$0x08,%rsp
0000000000000004	movl	%edi,(%rsp)
0000000000000007	movl	%edi,%eax
0000000000000009	incl	%eax
000000000000000b	movl	%eax,(%rsp)
000000000000000e	movl	%eax,0x04(%rsp)
0000000000000012	addq	$0x08,%rsp
0000000000000016	ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100492  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-05 23:15:42 +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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						4e815f8a8c 
					 
					
						
						
							
							MC: Allow modifiers in MCSymbolRefExpr, and eliminate X86MCTargetExpr.  
						
						 
						
						... 
						
						
						
						- Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue.
 - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98592  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-15 23:51:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						5e6a7a248b 
					 
					
						
						
							
							llvm-mc: Support -n, useful for comparing -integrated-as output since the  
						
						 
						
						... 
						
						
						
						compiler may not lead with the text section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98418  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-13 02:20:57 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						0965200ac2 
					 
					
						
						
							
							Remove unneeded includes.  
						
						 
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98167  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-10 17:56:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						00685bb5cf 
					 
					
						
						
							
							eliminate MCContext::CreateSymbol and CreateTemporarySymbol.  
						
						 
						
						... 
						
						
						
						Add a new GetOrCreateTemporarySymbol method and a version that
takes a twine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98118  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-10 01:29:27 +00:00