Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								8e7b93938d 
								
							 
						 
						
							
							
								
								Get rid of ReadOnlySection duplicate  
							
							 
							
							... 
							
							
							
							llvm-svn: 56582 
							
						 
						
							2008-09-24 22:20:27 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								5906234c1d 
								
							 
						 
						
							
							
								
								Get rid of now unused {Four,Eight,Sixteen}ByteConstantSection  
							
							 
							
							... 
							
							
							
							llvm-svn: 56580 
							
						 
						
							2008-09-24 22:18:54 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								22db30548d 
								
							 
						 
						
							
							
								
								Get rid of duplicate char*/Section* stuff for TLS sections  
							
							 
							
							... 
							
							
							
							llvm-svn: 56577 
							
						 
						
							2008-09-24 22:17:06 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								7497762606 
								
							 
						 
						
							
							
								
								Get rid of duplicate char*/Section* DataSection  
							
							 
							
							... 
							
							
							
							llvm-svn: 56575 
							
						 
						
							2008-09-24 22:16:16 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								f8dc8aac3c 
								
							 
						 
						
							
							
								
								Get rid of duplicate char*/Section* TextSection  
							
							 
							
							... 
							
							
							
							llvm-svn: 56574 
							
						 
						
							2008-09-24 22:15:21 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								076e905b94 
								
							 
						 
						
							
							
								
								Move actual section printing stuff to AsmPrinter from TAI reducing heap traffic.  
							
							 
							
							... 
							
							
							
							llvm-svn: 56573 
							
						 
						
							2008-09-24 22:14:23 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								f080225490 
								
							 
						 
						
							
							
								
								Fix logic for not emitting no-dead-strip for some  
							
							 
							
							... 
							
							
							
							objects in llvm.used (thanks Anton).  Makes visible
the magic 'l' prefix for symbols on Darwin which are
to be passed through the assembler, then removed at
linktime (previously all references to this had been
hidden in the ObjC FE code, oh well).
llvm-svn: 55973 
							
						 
						
							2008-09-09 01:21:22 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								2ae5446b62 
								
							 
						 
						
							
							
								
								Add interface for section override. Use this for Sparc, since it should use named BSS section.  
							
							 
							
							... 
							
							
							
							llvm-svn: 54844 
							
						 
						
							2008-08-16 12:58:12 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								bd890b1faf 
								
							 
						 
						
							
							
								
								Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. This makes JIT asmprinter-free.  
							
							 
							
							... 
							
							
							
							llvm-svn: 54843 
							
						 
						
							2008-08-16 12:57:46 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								44b4a9a05d 
								
							 
						 
						
							
							
								
								Reduce heap trashing due to std::string construction / concatenation via caching of section flags string representations  
							
							 
							
							... 
							
							
							
							llvm-svn: 54842 
							
						 
						
							2008-08-16 12:57:07 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								df8c7faf60 
								
							 
						 
						
							
							
								
								Undo most of r54519.  
							
							 
							
							... 
							
							
							
							llvm-svn: 54534 
							
						 
						
							2008-08-08 17:56:50 +00:00  
						
					 
				
					
						
							
							
								 
								Evan Cheng
							
						 
						
							 
							
							
							
							
								
							
							
								655fa0fec4 
								
							 
						 
						
							
							
								
								It's not legal to output a GV in a coalesced section if it's used in an ARM PIC relative constantpool.  
							
							 
							
							... 
							
							
							
							llvm-svn: 54519 
							
						 
						
							2008-08-08 06:56:16 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								8ab2f49536 
								
							 
						 
						
							
							
								
								Provide convenient helpers  
							
							 
							
							... 
							
							
							
							llvm-svn: 54451 
							
						 
						
							2008-08-07 09:51:54 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								ef643a4850 
								
							 
						 
						
							
							
								
								Select section for constant pool entries  
							
							 
							
							... 
							
							
							
							llvm-svn: 54448 
							
						 
						
							2008-08-07 09:50:34 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								4fdeb9b2d3 
								
							 
						 
						
							
							
								
								Provide default implementation of different small-sections related stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 53920 
							
						 
						
							2008-07-22 17:09:59 +00:00  
						
					 
				
					
						
							
							
								 
								Bruno Cardoso Lopes
							
						 
						
							 
							
							
							
							
								
							
							
								9cfd2f8e57 
								
							 
						 
						
							
							
								
								Basic support for small sections  
							
							 
							
							... 
							
							
							
							llvm-svn: 53907 
							
						 
						
							2008-07-22 15:26:53 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								efa4160fcc 
								
							 
						 
						
							
							
								
								TargetAsmInfo::SectionForGlobal showed up in a profile. Simplify it a little.  
							
							 
							
							... 
							
							
							
							llvm-svn: 53639 
							
						 
						
							2008-07-15 18:37:51 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								56827c1b60 
								
							 
						 
						
							
							
								
								Use only 'subset' of flags  
							
							 
							
							... 
							
							
							
							llvm-svn: 53323 
							
						 
						
							2008-07-09 13:29:44 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								daee281590 
								
							 
						 
						
							
							
								
								First sketch of special section objects  
							
							 
							
							... 
							
							
							
							llvm-svn: 53320 
							
						 
						
							2008-07-09 13:28:49 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								577c45dd74 
								
							 
						 
						
							
							
								
								Use isWeakForLinker() hook  
							
							 
							
							... 
							
							
							
							llvm-svn: 53318 
							
						 
						
							2008-07-09 13:27:59 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								13b9a22fb0 
								
							 
						 
						
							
							
								
								Fix several bugs in named sections handling  
							
							 
							
							... 
							
							
							
							llvm-svn: 53312 
							
						 
						
							2008-07-09 13:25:46 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								60919583b3 
								
							 
						 
						
							
							
								
								Add hacky way to distinguish named and named sections. This will be generalized in the future.  
							
							 
							
							... 
							
							
							
							llvm-svn: 53311 
							
						 
						
							2008-07-09 13:25:26 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								d789b7c196 
								
							 
						 
						
							
							
								
								Use 'gnu.linkonce', where needed  
							
							 
							
							... 
							
							
							
							llvm-svn: 53310 
							
						 
						
							2008-07-09 13:24:55 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								7504c283f2 
								
							 
						 
						
							
							
								
								Fix thinko  
							
							 
							
							... 
							
							
							
							llvm-svn: 53309 
							
						 
						
							2008-07-09 13:24:38 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								4c37c3ad5b 
								
							 
						 
						
							
							
								
								Provide section selection for X86 ELF targets  
							
							 
							
							... 
							
							
							
							llvm-svn: 53305 
							
						 
						
							2008-07-09 13:23:08 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								9d6939b5fc 
								
							 
						 
						
							
							
								
								Provide general hook for section name calculation  
							
							 
							
							... 
							
							
							
							llvm-svn: 53304 
							
						 
						
							2008-07-09 13:22:46 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								ab778022d5 
								
							 
						 
						
							
							
								
								Properly handle linkonce stuff  
							
							 
							
							... 
							
							
							
							llvm-svn: 53296 
							
						 
						
							2008-07-09 13:19:38 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								7680198798 
								
							 
						 
						
							
							
								
								Provide skeletone code for calculation of section, where global should be emitted into  
							
							 
							
							... 
							
							
							
							llvm-svn: 53295 
							
						 
						
							2008-07-09 13:19:08 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								3ee57868a5 
								
							 
						 
						
							
							
								
								Use 'llvm-linkonce' consistently  
							
							 
							
							... 
							
							
							
							llvm-svn: 53294 
							
						 
						
							2008-07-09 13:18:38 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								21539c6d1e 
								
							 
						 
						
							
							
								
								Add default section name resolution routine  
							
							 
							
							... 
							
							
							
							llvm-svn: 53292 
							
						 
						
							2008-07-09 13:18:02 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								aab504fb19 
								
							 
						 
						
							
							
								
								Constify  
							
							 
							
							... 
							
							
							
							llvm-svn: 53291 
							
						 
						
							2008-07-09 13:17:36 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								9e4ab5023a 
								
							 
						 
						
							
							
								
								Add code for default section falgs computation  
							
							 
							
							... 
							
							
							
							llvm-svn: 53290 
							
						 
						
							2008-07-09 13:16:59 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								04fb6bf468 
								
							 
						 
						
							
							
								
								Linux also does not require exception handling  
							
							 
							
							... 
							
							
							
							moves in order to get correct debug info.  Since
I can't imagine how any target could possibly
be any different, I've just stripped out the
option: now all the world's like Darwin!
llvm-svn: 53134 
							
						 
						
							2008-07-04 09:55:48 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								b7bd02be57 
								
							 
						 
						
							
							
								
								Darwin doesn't need exception handling information for the "move" info when  
							
							 
							
							... 
							
							
							
							debug information is being output, because it's leet!
llvm-svn: 52994 
							
						 
						
							2008-07-01 23:34:48 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								2e052a81fd 
								
							 
						 
						
							
							
								
								Start refactoring of asmprinters: provide a TAI hook, which will select a 'section kind' for a global.  
							
							 
							
							... 
							
							
							
							llvm-svn: 52868 
							
						 
						
							2008-06-28 13:45:57 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								355b74acc2 
								
							 
						 
						
							
							
								
								Add StringConstantPrefix to control what the  
							
							 
							
							... 
							
							
							
							assembler names of string constants look like.
llvm-svn: 51909 
							
						 
						
							2008-06-03 18:09:06 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								e2b0bf43a7 
								
							 
						 
						
							
							
								
								Output correct exception handling and frame info  
							
							 
							
							... 
							
							
							
							on x86-64 linux.  This causes no regressions on
32 bit linux and 32 bit ppc.  More tests pass
on 64 bit ppc with no regressions.  I didn't
turn on eh on 64 bit linux because the intrinsics
needed to compile the eh runtime aren't done
yet.  But if you turn it on and link with the
mainline runtime then eh seems to work fine
on x86-64 linux with this patch.  Thanks to
Dale for testing.  The main point of the patch
is that if you output that some object is
encoded using 4 bytes you had better not output
8 bytes for it: the patch makes everything
consistent.
llvm-svn: 50825 
							
						 
						
							2008-05-07 19:11:09 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								bcde172222 
								
							 
						 
						
							
							
								
								Add AsmPrinter support for emitting a directive to declare that  
							
							 
							
							... 
							
							
							
							the code being generated does not require an executable stack.
Also, add target-specific code to make use of this on Linux
on x86. 
llvm-svn: 50634 
							
						 
						
							2008-05-05 00:28:39 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								0e8b146152 
								
							 
						 
						
							
							
								
								Use enumeration for preffered EH dwarf encoding reason  
							
							 
							
							... 
							
							
							
							llvm-svn: 47770 
							
						 
						
							2008-02-29 22:09:08 +00:00  
						
					 
				
					
						
							
							
								 
								Lauro Ramos Venancio
							
						 
						
							 
							
							
							
							
								
							
							
								714eeb2d55 
								
							 
						 
						
							
							
								
								Initialize TextAlignFillValue. Fix revision 47703.  
							
							 
							
							... 
							
							
							
							llvm-svn: 47732 
							
						 
						
							2008-02-28 22:14:09 +00:00  
						
					 
				
					
						
							
							
								 
								Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								ae24cca0e4 
								
							 
						 
						
							
							
								
								Preparation step for some cleanup/generalization in EH information emission:  
							
							 
							
							... 
							
							
							
							provide TAI hook for selection of EH data emission format. Currently unused.
llvm-svn: 47699 
							
						 
						
							2008-02-27 23:33:50 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								00dfb551cc 
								
							 
						 
						
							
							
								
								Missed file from previous checkin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 46030 
							
						 
						
							2008-01-15 23:25:27 +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  
						
					 
				
					
						
							
							
								 
								Gordon Henriksen
							
						 
						
							 
							
							
							
							
								
							
							
								84c7325ca1 
								
							 
						 
						
							
							
								
								Setting GlobalDirective in TargetAsmInfo by default rather than  
							
							 
							
							... 
							
							
							
							providing a misleading facility. It's used once in the MIPS backend
and hardcoded as "\t.globl\t" everywhere else.
llvm-svn: 45338 
							
						 
						
							2007-12-23 20:58:16 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								e70850cf7b 
								
							 
						 
						
							
							
								
								Fix compiler warning.  
							
							 
							
							... 
							
							
							
							llvm-svn: 44261 
							
						 
						
							2007-11-21 00:45:00 +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  
						
					 
				
					
						
							
							
								 
								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  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								0cc9d1b93b 
								
							 
						 
						
							
							
								
								Merge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .file  
							
							 
							
							... 
							
							
							
							aren't really usable without each other. 
llvm-svn: 42274 
							
						 
						
							2007-09-24 21:09:53 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								74fb0f1a1c 
								
							 
						 
						
							
							
								
								Add a bool to indicate if we should set the "indirect encoding" bit in the Dwarf  
							
							 
							
							... 
							
							
							
							information for EH.
llvm-svn: 41852 
							
						 
						
							2007-09-11 17:20:55 +00:00