Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								83af1197ca 
								
							 
						 
						
							
							
								
								Revert r46916 PPCTargetAsmInfo.cpp.  
							
							 
							
							... 
							
							
							
							llvm-svn: 47020 
							
						 
						
							2008-02-12 19:25:12 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								52ea27db17 
								
							 
						 
						
							
							
								
								Match GCC's behaviour for these sections.  
							
							 
							
							... 
							
							
							
							llvm-svn: 46916 
							
						 
						
							2008-02-10 00:03:54 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								59a2250b0d 
								
							 
						 
						
							
							
								
								Fix and enable EH for x86-64 Darwin.  Adds  
							
							 
							
							... 
							
							
							
							ShortenEHDataFor64Bits as a not-very-accurate
abstraction to cover all the changes in DwarfWriter.
Some cosmetic changes to Darwin assembly code for
gcc testsuite compatibility.
llvm-svn: 46029 
							
						 
						
							2008-01-15 23:24:56 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								2ff66f08f2 
								
							 
						 
						
							
							
								
								Weak things initialized to 0 don't go in bss on Darwin.  
							
							 
							
							... 
							
							
							
							Cosmetic changes to spacing to match gcc (some dejagnu
tests actually care).
llvm-svn: 45848 
							
						 
						
							2008-01-11 00:54:37 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								7ecb3b79c7 
								
							 
						 
						
							
							
								
								Emit unused EH frames for weak definitions on Darwin,  
							
							 
							
							... 
							
							
							
							because assembler/linker can't cope with weak absolutes.
PR 1880.
llvm-svn: 45811 
							
						 
						
							2008-01-10 02:03:30 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								f3ebc3f3d2 
								
							 
						 
						
							
							
								
								Remove attribution from file headers, per discussion on llvmdev.  
							
							 
							
							... 
							
							
							
							llvm-svn: 45418 
							
						 
						
							2007-12-29 20:36:04 +00:00  
						
					 
				
					
						
							
							
								 
								Nicolas Geoffray
							
						 
						
							 
							
							
							
							
								
							
							
								80c741e160 
								
							 
						 
						
							
							
								
								Enable EH for linux/ppc32 targets  
							
							 
							
							... 
							
							
							
							llvm-svn: 45281 
							
						 
						
							2007-12-21 12:19:44 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								eadbf4b91c 
								
							 
						 
						
							
							
								
								Enable EH on PPC Darwin.  This basically works; there  
							
							 
							
							... 
							
							
							
							are a couple of issues that show up with the optimizer,
but I don't think they're really EH problems.
(llvm-gcc testsuite users note:  By default the testsuite
uses the unwinding code that's built as part of your local
llvm-gcc, which does not work.  You need to trick it into
using the installed system unwinding code to get useful
results.)
llvm-svn: 45221 
							
						 
						
							2007-12-19 21:54:36 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								763e110a9f 
								
							 
						 
						
							
							
								
								Fix .eh table linkage issues on Darwin.  Some EH support  
							
							 
							
							... 
							
							
							
							for Darwin PPC, but it's not fully working yet.
llvm-svn: 44258 
							
						 
						
							2007-11-20 23:24:42 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								7904708369 
								
							 
						 
						
							
							
								
								Revert previous; these files aren't ready to go in yet.  
							
							 
							
							... 
							
							
							
							llvm-svn: 44057 
							
						 
						
							2007-11-13 19:16:02 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								7a7085f6d3 
								
							 
						 
						
							
							
								
								Add parameter to getDwarfRegNum to permit targets  
							
							 
							
							... 
							
							
							
							to use different mappings for EH and debug info;
no functional change yet.
Fix warning in X86CodeEmitter.
llvm-svn: 44056 
							
						 
						
							2007-11-13 19:13:01 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								d954dcd138 
								
							 
						 
						
							
							
								
								Fix crash before main on ppc/linux with static constructors. PR1771  
							
							 
							
							... 
							
							
							
							llvm-svn: 43676 
							
						 
						
							2007-11-04 17:32:10 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								a1d46c7d0a 
								
							 
						 
						
							
							
								
								TargetAsmInfo::getAddressSize() was incorrect for x86-64 and 64-bit targets  
							
							 
							
							... 
							
							
							
							other than PPC64. Instead of fixing it, just remove it and fix all the
places that use it to use TargetData::getPointerSize() instead, as there
aren't very many. Most of the references were in DwarfWriter.cpp.
llvm-svn: 42419 
							
						 
						
							2007-09-27 23:12:31 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								66c22e8fd6 
								
							 
						 
						
							
							
								
								Enable indirect encoding for the personality function  
							
							 
							
							... 
							
							
							
							llvm-svn: 41873 
							
						 
						
							2007-09-11 23:55:40 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								a124f69c52 
								
							 
						 
						
							
							
								
								Disable EH generation until PPC works 100%.  
							
							 
							
							... 
							
							
							
							llvm-svn: 41360 
							
						 
						
							2007-08-24 16:00:15 +00:00  
						
					 
				
					
						
							
							
								 
								Nick Lewycky
							
						 
						
							 
							
							
							
							
								
							
							
								5805c46e8f 
								
							 
						 
						
							
							
								
								Fix debug info and globals filled with zeros.  
							
							 
							
							... 
							
							
							
							llvm-svn: 40483 
							
						 
						
							2007-07-25 03:48:45 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								d918477ac3 
								
							 
						 
						
							
							
								
								For Darwin, put constant data into .const, .const_data, .literal{4|8|16}  
							
							 
							
							... 
							
							
							
							sections.
llvm-svn: 35017 
							
						 
						
							2007-03-08 01:25:25 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								af76e0e58f 
								
							 
						 
						
							
							
								
								Add TAI field for exception table section.  
							
							 
							
							... 
							
							
							
							llvm-svn: 34477 
							
						 
						
							2007-02-21 22:43:40 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								c3de9b4b14 
								
							 
						 
						
							
							
								
								Support for non-landing pad exception handling.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33755 
							
						 
						
							2007-02-01 16:31:34 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								0e083d0161 
								
							 
						 
						
							
							
								
								Darwin -static should codegen static ctors / dtors to .constructor / .destructor sections.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33657 
							
						 
						
							2007-01-30 08:04:53 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								b4a2f05d1c 
								
							 
						 
						
							
							
								
								Landing pad-less eh for PPC.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33622 
							
						 
						
							2007-01-29 18:51:14 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								c1ea85b4c4 
								
							 
						 
						
							
							
								
								Modify emission of jump tables on darwin to emit an extra "l" label that  
							
							 
							
							... 
							
							
							
							delimits the boundaries of jump tables.  This lets the linker's dead code
stripping optimization do a better job.
llvm-svn: 33315 
							
						 
						
							2007-01-18 01:15:58 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								c7b2ab9bdf 
								
							 
						 
						
							
							
								
								Instead of yet another enum indicating the "assembly language flavor",  
							
							 
							
							... 
							
							
							
							just use the one that's in the subtarget.
llvm-svn: 33255 
							
						 
						
							2007-01-16 09:29:17 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								e21237e59a 
								
							 
						 
						
							
							
								
								Fix for PR1095:  
							
							 
							
							... 
							
							
							
							LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for
the X86 and PPC backends. It defaults to "0", the first variant of a compound
inline asm expression.
llvm-svn: 33246 
							
						 
						
							2007-01-16 03:42:04 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								3c84b551db 
								
							 
						 
						
							
							
								
								add support for hidden visibility to darwin/ppc and linux/ppc targets  
							
							 
							
							... 
							
							
							
							llvm-svn: 33200 
							
						 
						
							2007-01-14 06:37:54 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								28663c73ef 
								
							 
						 
						
							
							
								
								Changes from Nick Lewycky with a simplified PPCTargetAsmInfo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 32735 
							
						 
						
							2006-12-21 20:26:09 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								022030a425 
								
							 
						 
						
							
							
								
								Add weak reference directive.  
							
							 
							
							... 
							
							
							
							llvm-svn: 32091 
							
						 
						
							2006-12-01 20:47:11 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								e1e06c2de8 
								
							 
						 
						
							
							
								
								Place cstrings in .cstring section.  
							
							 
							
							... 
							
							
							
							llvm-svn: 31207 
							
						 
						
							2006-10-26 21:48:57 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								2794184191 
								
							 
						 
						
							
							
								
								Use S_debug for dwarf info.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30994 
							
						 
						
							2006-10-17 11:30:57 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								8cfd10eff3 
								
							 
						 
						
							
							
								
								Don't bother setting JumpTableTextSection, it is about to disappear  
							
							 
							
							... 
							
							
							
							llvm-svn: 30745 
							
						 
						
							2006-10-05 03:13:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								028d663ee6 
								
							 
						 
						
							
							
								
								Move getSectionForFunction to AsmPrinter, change it to return a string.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30735 
							
						 
						
							2006-10-05 02:42:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								0d236450aa 
								
							 
						 
						
							
							
								
								implement DarwinTargetAsmInfo::getSectionForFunction, use it when outputting  
							
							 
							
							... 
							
							
							
							function bodies
llvm-svn: 30733 
							
						 
						
							2006-10-05 00:35:50 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								ad4e7eb59e 
								
							 
						 
						
							
							
								
								Compile:  
							
							 
							
							... 
							
							
							
							int x __attribute__((used));
to:
        .data
.comm _x,4              ; 'x'
        .no_dead_strip  _x
on both x86 and ppc darwin targets.
llvm-svn: 30605 
							
						 
						
							2006-09-26 03:39:53 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								177405376c 
								
							 
						 
						
							
							
								
								Missing tab  
							
							 
							
							... 
							
							
							
							llvm-svn: 30188 
							
						 
						
							2006-09-08 13:06:56 +00:00  
						
					 
				
					
						
							
							
								 
								Jim Laskey
							
						 
						
							 
							
							
							
							
								
							
							
								0e83541f8b 
								
							 
						 
						
							
							
								
								Break out target asm info into separate files.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30161 
							
						 
						
							2006-09-07 22:05:02 +00:00