Bill Wendling 
							
						 
					 
					
						
						
							
						
						8440fe2166 
					 
					
						
						
							
							Don't emit the FDE end label if the last thing emitted was a compact unwind and  
						
						... 
						
						
						
						not the FDE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135020  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-13 00:49:09 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						6a6b8c3e96 
					 
					
						
						
							
							Add a target hook to encode the compact unwind information.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134577  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-07 00:54:13 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						2b2dc7c4be 
					 
					
						
						
							
							Clean up the #includes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134557  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-07-06 22:52:32 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						c3882164cb 
					 
					
						
						
							
							Remove tabs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134212  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 23:59:38 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						e08d4335ad 
					 
					
						
						
							
							Improve comment: Show the register the DWARF label is added to.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134209  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 23:47:40 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						d221cd676b 
					 
					
						
						
							
							Add one more comment to the FDE verbose asm output.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134200  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 22:35:49 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						2541c41f3e 
					 
					
						
						
							
							Add comments to the FDE.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 22:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						efd24ddbff 
					 
					
						
						
							
							Add more comments to the ASM output for the CIE's "moves".  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134194  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 21:45:12 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						3c163cfa60 
					 
					
						
						
							
							Add comments to the ASM output to help understand the compact unwind and CIE tables.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134191  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 21:25:51 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						9287a6eef3 
					 
					
						
						
							
							* Use the proper size to output the range size.  
						
						... 
						
						
						
						* Rough in the compact encoding part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134119  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-30 00:30:52 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						4498d39680 
					 
					
						
						
							
							Stupid error: If the LSDA and Personality functions aren't there, emit 0 instead  
						
						... 
						
						
						
						of the encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134117  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-29 23:53:16 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						9056e90320 
					 
					
						
						
							
							We don't want to use relocations inside the compact unwind section. Just use the  
						
						... 
						
						
						
						symbols instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134115  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-29 23:49:12 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						5b46e8e6b8 
					 
					
						
						
							
							Use a reference. Don't make a useless copy of the vector.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133707  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-23 07:55:41 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						a8c9e6a943 
					 
					
						
						
							
							Formatting changes. No functionality change.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133706  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-23 07:44:54 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						4c0c446d74 
					 
					
						
						
							
							Use the presence of the __compact_unwind section to indicate that a target  
						
						... 
						
						
						
						supports compact unwind info instead of having a separate flag indicating this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133685  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-23 05:13:28 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						e3cd13f0e2 
					 
					
						
						
							
							Some skeleton code to emit the compact unwind. If the information is unable to  
						
						... 
						
						
						
						be emitted in a compact way, we then default to emitting a CIE and FDE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133676  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-23 01:06:23 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						dcf0e0c44b 
					 
					
						
						
							
							Directly print to a raw_ostream instead of printing to a buffer first.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133352  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-06-18 14:42:47 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						958b68140e 
					 
					
						
						
							
							No reason not to allow defining the CFA as a reg w/ offset zero.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131760  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-20 21:50:09 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						9989ef43fa 
					 
					
						
						
							
							Avoid a gcc warning.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131161  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 22:28:35 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						e3a0e987f3 
					 
					
						
						
							
							On MachO, unlike ELF, there should be no relocation to produce the CIE pointer.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131149  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 20:59:42 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						12f197b3bc 
					 
					
						
						
							
							The EH symbols are only needed in eh_frame, not debug_frame.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131146  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 19:51:53 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						0d450dc659 
					 
					
						
						
							
							In a debug_frame the cfi offset is to the start of the debug_frame section!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131129  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 15:20:23 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						40a7dbbeff 
					 
					
						
						
							
							Add support for producing .deubg_frame sections.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131121  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 03:54:12 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						774466a8a5 
					 
					
						
						
							
							Small cleanups.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131120  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 03:26:21 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						9f270dadd4 
					 
					
						
						
							
							Remove unused argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131118  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-10 03:01:39 +00:00 
						 
				 
			
				
					
						
							
							
								NAKAMURA Takumi 
							
						 
					 
					
						
						
							
						
						8a1f2b2bcf 
					 
					
						
						
							
							Eliminate an unused line to fix a warning.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131078  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-08 23:19:04 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						4eafe10945 
					 
					
						
						
							
							Don't force relaxation of AdvanceLoc instructions on OS X. gdb is happy with  
						
						... 
						
						
						
						the smaller encoding and this cuts 270336 bytes from a release version of
clang and 1246272 bytes from a debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131067  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-08 14:35:21 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						be91117c4d 
					 
					
						
						
							
							Switch Darwin to the generic CIE/FDE printer.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131031  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-06 22:29:04 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						b47426b4de 
					 
					
						
						
							
							MCDwarf: Don't save Twine to local variable, this is almost never safe to do  
						
						... 
						
						
						
						(and should thus never be done).
 - Should fix a crash on win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130793  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-03 21:33:37 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						5426a9ee37 
					 
					
						
						
							
							GCC uses a different encoding of pointers in the FDE when using  
						
						... 
						
						
						
						-fno-dwarf2-cfi-asm. Implement the same behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130637  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-01 04:49:54 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						debd7e4e8b 
					 
					
						
						
							
							Simplify the handling of pcrel relocations on ELF. Now we do the right thing  
						
						... 
						
						
						
						for all symbol differences and can drop the old EmitPCRelSymbolValue
method.
This also make getExprForFDESymbol on ELF equal to the one on MachO, and it
can be made non-virtual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130634  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-01 03:50:49 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						1f6c87554a 
					 
					
						
						
							
							Avoid some uses of .uleb128. This is a small speedup and more importantly  
						
						... 
						
						
						
						lets this code be used when producing assembly code for old assemblers without
uleb support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130544  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-29 21:50:57 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						4892dff07e 
					 
					
						
						
							
							Last bit by bit compatibility patch to MCDwarf.cpp: If a FDE with no LSDA is  
						
						... 
						
						
						
						assigned to a CIE that requires one, just output a 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130472  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-29 03:06:29 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						9099813bd5 
					 
					
						
						
							
							Add an alternative implementation of CIE and FDE emission that outputs them  
						
						... 
						
						
						
						in the same order as the one in CodeGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130471  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-29 02:42:28 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						a0057ca13f 
					 
					
						
						
							
							Add the getExprForFDESymbol method that responsible for computing the  
						
						... 
						
						
						
						expressions used in the FDE to refer to symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130437  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 21:04:39 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						bfa27cc5d7 
					 
					
						
						
							
							Add a getExprForPersonalitySymbol method to MCAsmInfo. Use it when  
						
						... 
						
						
						
						converting the symbol passed to .cfi_personality into bytes is the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130400  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 16:09:09 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						8bca4106df 
					 
					
						
						
							
							Mark the EH symbol global or weak if the corresponding function is.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130397  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 12:50:37 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						235b830328 
					 
					
						
						
							
							Add a small temporary hack for producing identical eh_frame sections on OS X.  
						
						... 
						
						
						
						This removes one of the main advantages of moving eh_frame to MC, but
makes the transition a lot easier to debug (run md5).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130379  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 04:04:14 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						514cecc72b 
					 
					
						
						
							
							Produce the EH_frame# symbols if needed.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130378  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 03:26:11 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						a8cfb87fa2 
					 
					
						
						
							
							Forward isFunctionEHFrameSymbolPrivate. If it is false, produce the foo.eh  
						
						... 
						
						
						
						symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130375  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-28 02:46:42 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						9266cc400e 
					 
					
						
						
							
							Force some values to be absolute and align based on the FDE pointers size. A small  
						
						... 
						
						
						
						step towards using .cfi_* on OS X.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130273  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-27 01:43:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						add2944559 
					 
					
						
						
							
							Delete the other unused variable in this function. Sorry I missed this  
						
						... 
						
						
						
						the first time through.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129969  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-22 01:29:18 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						32bd250d30 
					 
					
						
						
							
							Remove an unused variable from a function. This is a likely cut-paste-o.  
						
						... 
						
						
						
						Silences GCC warning.
I wonder why Clang doesn't warn on this...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129968  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-22 01:21:06 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						abf9af60ad 
					 
					
						
						
							
							Compute the size of the FDE encoding instead of hard coding it. Update  
						
						... 
						
						
						
						X8664_ELFTargetObjectFile::getFDEEncoding to match reality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129959  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-22 00:08:43 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						e8cfbd843d 
					 
					
						
						
							
							Remove unused argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129955  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-21 23:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						eccbad78e0 
					 
					
						
						
							
							Don't pass address spaces to EmitULEB128IntValue.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129953  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-21 23:26:40 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						5d7dcd3335 
					 
					
						
						
							
							Remove LastOffset from the asm parser.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129378  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-12 18:53:30 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						25f492e778 
					 
					
						
						
							
							Fix the case of a .cfi_rel_offset before any .cfi_def_cfa_offset.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129362  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-12 16:12:03 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						c57543964d 
					 
					
						
						
							
							Implement  .cfi_same_value.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129361  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-12 15:31:05 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						16c29b5f28 
					 
					
						
						
							
							Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs and fixes here and there.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123170  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-10 12:39:04 +00:00