Jim Grosbach 
							
						 
					 
					
						
						
							
						
						cb2ae3d98e 
					 
					
						
						
							
							MCParser: Update method names per coding guidelines.  
						
						... 
						
						
						
						s/AddDirectiveHandler/addDirectiveHandler/
s/ParseMSInlineAsm/parseMSInlineAsm/
s/ParseIdentifier/parseIdentifier/
s/ParseStringToEndOfStatement/parseStringToEndOfStatement/
s/ParseEscapedString/parseEscapedString/
s/EatToEndOfStatement/eatToEndOfStatement/
s/ParseExpression/parseExpression/
s/ParseParenExpression/parseParenExpression/
s/ParseAbsoluteExpression/parseAbsoluteExpression/
s/CheckForValidSection/checkForValidSection/
http://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly 
No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175675  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-02-20 22:21:35 +00:00 
						 
				 
			
				
					
						
							
							
								Joerg Sonnenberger 
							
						 
					 
					
						
						
							
						
						42edeb1ba8 
					 
					
						
						
							
							Derive ELF section type from the name in some cases where GNU as does  
						
						... 
						
						
						
						so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175327  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-02-16 00:32:53 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Bendersky 
							
						 
					 
					
						
						
							
						
						171192f149 
					 
					
						
						
							
							Use the ExtensionDirectiveHandler type in other places where it makes sense.  
						
						... 
						
						
						
						Since we already have this type it's a shame to keep dragging a pair of object
and method around explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172584  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-01-16 00:50:52 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						68ca56285f 
					 
					
						
						
							
							These functions have default arguments of 0 for the last arg. Use  
						
						... 
						
						
						
						them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171933  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2013-01-09 01:57:54 +00:00 
						 
				 
			
				
					
						
							
							
								Dmitri Gribenko 
							
						 
					 
					
						
						
							
						
						2de0572cae 
					 
					
						
						
							
							Remove redundant semicolons which are null statements.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163547  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-09-10 21:26:47 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						6a80f9da8c 
					 
					
						
						
							
							ELF: Add support for the asm .version directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156712  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-05-12 14:30:47 +00:00 
						 
				 
			
				
					
						
							
							
								Roman Divacky 
							
						 
					 
					
						
						
							
						
						a0c17a495b 
					 
					
						
						
							
							Add support for gnu_indirect_function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146377  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-12-12 17:34:04 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						f2a35fbd60 
					 
					
						
						
							
							Move some ELF directives into ELF asm parser.  
						
						... 
						
						
						
						The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.
rdar://9827089
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135921  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-25 17:55:35 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						cc866d5d2d 
					 
					
						
						
							
							Tidy up. 80 columns.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135917  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-25 17:11:29 +00:00 
						 
				 
			
				
					
						
							
							
								Joerg Sonnenberger 
							
						 
					 
					
						
						
							
						
						93c65e6e66 
					 
					
						
						
							
							Restore r125595 (reverted in r126336) with modifications:  
						
						... 
						
						
						
						Introduce a variable in the AsmParserExtension whether [] is valid in an
expression. If it is true, parse them like (). Enable this for ELF only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126443  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-24 21:59:22 +00:00 
						 
				 
			
				
					
						
							
							
								Joerg Sonnenberger 
							
						 
					 
					
						
						
							
						
						a04663ecb2 
					 
					
						
						
							
							Bug#9172: Don't use static in file scope, use an attribute on the  
						
						... 
						
						
						
						parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126225  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-22 16:53:11 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						7768a9dce1 
					 
					
						
						
							
							Add support for pushsection and popsection. Patch by Joerg Sonnenberger.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125629  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-16 01:08:29 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						184640e96e 
					 
					
						
						
							
							Handle strings in section names the same way as gas:  
						
						... 
						
						
						
						* If the name is a single string, we remove the quotes
* If the name starts without a quote, we include any quotes in the name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124127  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-24 18:02:54 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						0cf5e3d51d 
					 
					
						
						
							
							Delay the creation of eh_frame so that the user can change the defaults.  
						
						... 
						
						
						
						Add support for SHT_X86_64_UNWIND.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124059  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-23 05:43:40 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						1c13026e8f 
					 
					
						
						
							
							Remove more duplicated code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124056  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-23 04:43:11 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						c85dca66e6 
					 
					
						
						
							
							Remove duplicated code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124054  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-23 04:28:49 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						98976610d2 
					 
					
						
						
							
							Add support for @note. Patch by Jörg Sonnenberger.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122568  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-26 21:30:59 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						6b8e4357ec 
					 
					
						
						
							
							Factor some code to parseSectionFlags and fix the default type of a section.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120145  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-25 15:32:56 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						25958730df 
					 
					
						
						
							
							Behave a bit more like gnu as and use the symbol (instead of the section)  
						
						... 
						
						
						
						for any relocation to a symbol defined in a tls section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120121  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-24 21:57:39 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						e13a0ff8ac 
					 
					
						
						
							
							Parse and record the gnu_unique_object type.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118980  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-13 04:51:02 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						d4a352609f 
					 
					
						
						
							
							gnu as support both % and @ before types, do the same.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118893  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-12 15:47:08 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						2ff9e83a82 
					 
					
						
						
							
							Initial comdat implementation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118805  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-11 18:13:52 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						34be396a12 
					 
					
						
						
							
							Fixed version of 118639 with an extra assert to catch similar problems  
						
						... 
						
						
						
						earlier. Implicit bool -> int conversions are evil!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118651  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-09 23:42:07 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						037b5be15a 
					 
					
						
						
							
							Revert previous patch. Missed a case.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118645  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-09 22:54:38 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						e61a1ac595 
					 
					
						
						
							
							Remove IsExplicit. It was always false.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118639  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-09 22:37:44 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						4faf7c78fe 
					 
					
						
						
							
							Set default flags for .rodata.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118395  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-08 02:47:59 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						484291c273 
					 
					
						
						
							
							Implement .weakref.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117911  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-11-01 14:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						f4b0f3e616 
					 
					
						
						
							
							Improvements to .section parsing:  
						
						... 
						
						
						
						* If we have a M or a G, reject sections without the type
* Only parse the flag specific arguments if we have M or G
* Parse the corresponding arguments for M and G
We ignore the G arguments and flag for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117608  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-28 21:33:33 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						4fa3478fc2 
					 
					
						
						
							
							Set default type and flags for .init and .fini.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117471  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-27 18:45:20 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						8818213247 
					 
					
						
						
							
							Add support for the .symver directive. This is really ugly, but most of it is  
						
						... 
						
						
						
						contained in the ELF object writer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117448  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-27 15:18:17 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						61e3b91da7 
					 
					
						
						
							
							Add support for .ident.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117389  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-26 19:35:47 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						e90ea139f4 
					 
					
						
						
							
							MC: Move ParseDirectiveELFType into ELFAsmParser. COFF uses .type for something else.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116142  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-09 03:47:55 +00:00 
						 
				 
			
				
					
						
							
							
								Jan Wen Voung 
							
						 
					 
					
						
						
							
						
						12ad94e03c 
					 
					
						
						
							
							Have ELFAsmParser.cpp use the already parsed "Size" (entry size) when  
						
						... 
						
						
						
						constructing a section. Test for a few cases also included.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115132  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-30 02:41:46 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						0453dd9ca0 
					 
					
						
						
							
							Make sure .text doesn't produce extra alignment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114895  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-27 21:40:27 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						34e3d0cfe5 
					 
					
						
						
							
							Make sure that names like .note.GNU-stack are accepted as valid section names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114091  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-16 17:05:55 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						d80781b98b 
					 
					
						
						
							
							Add a InitSections method to the streamer interface.  
						
						... 
						
						
						
						The ELF implementation now creates text, data and bss to match the gnu as
behavior.
The text streamer still has the old MachO specific behavior since
the testsuite checks that it will error when a directive is given
before a setting the current section for example.
A nice benefit is that -n is not required anymore when producing
ELF files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-15 21:48:40 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						b98ac2a71e 
					 
					
						
						
							
							Add support for leb128 of absolute expressions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113691  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-11 16:45:15 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						1674b0b0e4 
					 
					
						
						
							
							Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112849  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-02 18:53:37 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Fleming 
							
						 
					 
					
						
						
							
						
						f525c2a8af 
					 
					
						
						
							
							Add some more handlers for ELF section directives.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-20 21:12:46 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						1edf6ca2cb 
					 
					
						
						
							
							MC/AsmParser: Stop playing unsafe member function pointer calls, this isn't  
						
						... 
						
						
						
						portable enough.
 - Downside is we now double dispatch through a stub function, but this isn't
   performance critical.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108661  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-18 22:22:07 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						f21e4e9326 
					 
					
						
						
							
							MC/AsmParser: Fix TokError() to accept a Twine.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108647  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-18 18:31:42 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Friedman 
							
						 
					 
					
						
						
							
						
						dc1ad22d53 
					 
					
						
						
							
							Start of .sleb128/.uleb128 parsing support.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108612  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-17 06:27:28 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Friedman 
							
						 
					 
					
						
						
							
						
						21444efae0 
					 
					
						
						
							
							Work-in-progress parsing for ELF .section directive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108609  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-17 04:29:04 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Friedman 
							
						 
					 
					
						
						
							
						
						f82ccf5a0d 
					 
					
						
						
							
							Add support for parsing .size directives for ELF.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108606  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-17 03:09:18 +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