Preston Gurd 
							
						 
					 
					
						
						
							
						
						c68dda815e 
					 
					
						
						
							
							This patch improves the MCJIT runtime dynamic loader by adding new handling  
						
						... 
						
						
						
						of zero-initialized sections, virtual sections and common symbols
and preventing the loading of sections which are not required for
execution such as debug information.
Patch by Andy Kaylor!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154610  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-04-12 20:13:57 +00:00 
						 
				 
			
				
					
						
							
							
								David Meyer 
							
						 
					 
					
						
						
							
						
						6f9489a86f 
					 
					
						
						
							
							[Object]  
						
						... 
						
						
						
						Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-03-09 20:41:57 +00:00 
						 
				 
			
				
					
						
							
							
								David Meyer 
							
						 
					 
					
						
						
							
						
						97f7787bfb 
					 
					
						
						
							
							[Object]  
						
						... 
						
						
						
						Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151845  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-03-01 22:19:54 +00:00 
						 
				 
			
				
					
						
							
							
								David Meyer 
							
						 
					 
					
						
						
							
						
						5c2b4ea73c 
					 
					
						
						
							
							[Object]  
						
						... 
						
						
						
						* Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
* Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
* Implement this new interface completely for ELF, leave stubs for COFF and MachO.
* Add 'llvm-readobj' tool for dumping ObjectFile information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151785  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-03-01 01:36:50 +00:00 
						 
				 
			
				
					
						
							
							
								David Meyer 
							
						 
					 
					
						
						
							
						
						c46255a32e 
					 
					
						
						
							
							In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151670  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-28 23:47:53 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						dfa1896b6b 
					 
					
						
						
							
							[Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF.  
						
						... 
						
						
						
						Add -D option to llvm-nm to dump dynamic symbols.
Patch by David Meyer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151600  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2012-02-28 00:40:37 +00:00 
						 
				 
			
				
					
						
							
							
								Danil Malyshev 
							
						 
					 
					
						
						
							
						
						b0436a7305 
					 
					
						
						
							
							Fixed ObjectFile functions:  
						
						... 
						
						
						
						- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145408  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-11-29 17:40:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						790552c20f 
					 
					
						
						
							
							Revert r145180 as it is causing test failures on all the bots.  
						
						... 
						
						
						
						Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145182  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-11-27 10:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								Danil Malyshev 
							
						 
					 
					
						
						
							
						
						9b24738bd1 
					 
					
						
						
							
							Fixed ObjectFile functions:  
						
						... 
						
						
						
						- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145180  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-11-27 10:12:52 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1832f4d94e 
					 
					
						
						
							
							Add support for scattered relocations to the MachO relocatation pretty printer.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143051  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-26 20:42:54 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9472b8d220 
					 
					
						
						
							
							Expand relocation type field to 64 bits.  MachO scattered relocations require 33 bits of type info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143032  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-26 17:08:49 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						0685e94895 
					 
					
						
						
							
							Add support for the notion of "hidden" relocations.  On MachO, these are relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves.  
						
						... 
						
						
						
						I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142961  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-25 20:35:53 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d8fa76d4be 
					 
					
						
						
							
							More fixes and improvements to MachO relocation pretty-printing, particular for x86 and x86_64 relocations with addends.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142875  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-24 23:20:07 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						9b2b812fea 
					 
					
						
						
							
							Object: Add isSymbolAbsolute and getSymbolSection.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142317  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-17 23:54:46 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						c38c36a8c4 
					 
					
						
						
							
							Object: Add isSymbolWeak.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142316  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-17 23:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						ab6bcf35ae 
					 
					
						
						
							
							Object: Implement casting for concrete classes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142314  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-17 23:53:37 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						df3f929ec2 
					 
					
						
						
							
							Add an accessor to get the underlying MachO representation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142261  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-17 21:37:03 +00:00 
						 
				 
			
				
					
						
							
							
								Michael J. Spencer 
							
						 
					 
					
						
						
							
						
						1130a799ab 
					 
					
						
						
							
							Object: Fix redundant name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142238  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-17 20:19:29 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						f7c93a3867 
					 
					
						
						
							
							Expose MachOObjectFile externally, like we do for COFF.  First step in reducing the amount of special-purpose code needed for llvm-objdump.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141684  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-10-11 17:32:27 +00:00