Owen Anderson 
							
						 
					 
					
						
						
							
						
						1d0be15f89 
					 
					
						
						
							
							Push LLVMContexts through the IntegerType APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-13 21:58:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						72bcdb6c9b 
					 
					
						
						
							
							Keep track of DIType.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78602  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-10 22:09:58 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						bceda93251 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78335  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-06 20:57:44 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d7f2a6cb3f 
					 
					
						
						
							
							Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78258  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-05 23:16:16 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						a7235ea724 
					 
					
						
						
							
							Move a few more APIs back to 2.5 forms.  The only remaining ones left to change back are  
						
						... 
						
						
						
						metadata related, which I'm waiting on to avoid conflicting with Devang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77721  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-31 20:28:14 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b4d31306a4 
					 
					
						
						
							
							Process DbgDeclareInst.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77694  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-31 18:18:52 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9e9a0d5fc2 
					 
					
						
						
							
							Move more code back to 2.5 APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77635  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-30 23:03:37 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						98c65173bb 
					 
					
						
						
							
							s/DebugInfoEnumerator/DebugInfoFinder/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77615  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-30 18:25:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e802f1c4c3 
					 
					
						
						
							
							walk DbgRegionStartInst and DbgRegionEndInst  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77604  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-30 17:30:23 +00:00 
						 
				 
			
				
					
						
							
							
								Douglas Gregor 
							
						 
					 
					
						
						
							
						
						f485b3bbab 
					 
					
						
						
							
							Eliminate a few unused-variable warnings  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77519  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-29 22:41:10 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						debcb01b0f 
					 
					
						
						
							
							Move types back to the 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-29 22:17:13 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						baf3c40440 
					 
					
						
						
							
							Move ConstantExpr to 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77494  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-29 18:55:55 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d2f79a1346 
					 
					
						
						
							
							Add DebugInfoEnumerator to collect debug info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77360  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-28 19:55:13 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1fd7096407 
					 
					
						
						
							
							Change ConstantArray to 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-28 18:32:17 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						8fa3338ed2 
					 
					
						
						
							
							Move ConstantStruct back to 2.5 API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77266  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 22:29:26 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						460f656475 
					 
					
						
						
							
							Remove Value::getName{Start,End}, the last of the old Name APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77152  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-26 09:48:23 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						eed707b1e6 
					 
					
						
						
							
							Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types.  More to come.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-24 23:12:02 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6930f4f945 
					 
					
						
						
							
							Fix thinko.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76769  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-22 18:56:16 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c4999d71e1 
					 
					
						
						
							
							Add replaceAllUsesWith() to FE replace debug info constructs while building complex types.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76765  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-22 18:23:44 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						0a5372ed3e 
					 
					
						
						
							
							Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.  
						
						... 
						
						
						
						This involves temporarily hard wiring some parts to use the global context.  This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 04:09:18 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e9b11b4313 
					 
					
						
						
							
							Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 19:03:57 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						3d29df3e8a 
					 
					
						
						
							
							Push LLVMContext through GlobalVariables and IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74985  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 01:26:06 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9903527c14 
					 
					
						
						
							
							Re-LLVMContext-ize DebugInfo, now with less breakage.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74920  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-07 17:12:53 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e277fed6eb 
					 
					
						
						
							
							Revert part of r74873 that broke Clang's debug info generation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74910  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-07 16:31:25 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						76f600b205 
					 
					
						
						
							
							Finish LLVMContext-ing lib/Analysis.  This required pushing LLVMContext's through the ValueTracking API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74873  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-06 22:37:39 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7e1e31f467 
					 
					
						
						
							
							Simplify debug info intrisinc lowering.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74733  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 22:43:26 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						dfc8536d7b 
					 
					
						
						
							
							Fix typo.  
						
						... 
						
						
						
						Thanks Duncan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74706  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 17:17:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9e529c3f78 
					 
					
						
						
							
							Add debug info utility routines.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74680  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 01:15:24 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7136a6540c 
					 
					
						
						
							
							Keep DIDescriptor methods together.  
						
						... 
						
						
						
						No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74652  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 22:10:23 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0fd38069cb 
					 
					
						
						
							
							improve the APIs for creating struct and function types with no arguments/elements  
						
						... 
						
						
						
						to not have to create a temporary vector (in the API at least).  Patch by Jay Foad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74584  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 04:13:31 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						13e16b65dd 
					 
					
						
						
							
							Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms  
						
						... 
						
						
						
						and llvm.dbg.global_variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74251  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-26 01:49:18 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9af2fa879c 
					 
					
						
						
							
							It is not a good idea to have data member's name match argument's name. In fact, it is a simple receipe to waste an hour or so.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74018  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-23 22:25:41 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						a119de86a0 
					 
					
						
						
							
							Fix old-style type names in comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73362  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-14 23:30:43 +00:00 
						 
				 
			
				
					
						
							
							
								Jay Foad 
							
						 
					 
					
						
						
							
						
						e3e51c0038 
					 
					
						
						
							
							Use v.data() instead of &v[0] when SmallVector v might be empty.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72210  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-21 09:52:38 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						dc817b6f42 
					 
					
						
						
							
							Non-functionality changes:  
						
						... 
						
						
						
						- Reformatting.
- Use while() instead of do-while().
- Move simple constructors into .h file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71782  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-14 18:26:15 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						ad9c278338 
					 
					
						
						
							
							Print out nicer dump info for DIDescriptor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71253  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-08 20:28:06 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						9a38e3e399 
					 
					
						
						
							
							Revert 71165. It did more than just revert 71158 and it introduced  
						
						... 
						
						
						
						several regressions. The problem due to 71158 is now fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71176  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-07 19:46:24 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						5b8479c385 
					 
					
						
						
							
							Temporarily revert r71158. It was causing a failure during a full bootstrap:  
						
						... 
						
						
						
						checking for bcopy... no
checking for getc_unlocked... Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511.
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decUtility.c:360: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter > for instructions.
make[4]: *** [decUtility.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511.
/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decNumber.c:5591: internal compiler error: Abort trap
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter > for instructions.
make[4]: *** [decNumber.o] Error 1
make[3]: *** [all-stage2-libdecnumber] Error 2
make[3]: *** Waiting for unfinished jobs....
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71165  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-07 17:26:14 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						16de013640 
					 
					
						
						
							
							Add dump method to DIDescriptor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71028  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-05 22:19:25 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e3f6cea9e9 
					 
					
						
						
							
							Do not require variable debug info nodes to have a compile unit.  
						
						... 
						
						
						
						For implicit decls like "self" and "_cmd" in ObjC, these decls
should not have a location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70964  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-05 04:55:56 +00:00 
						 
				 
			
				
					
						
							
							
								Argyrios Kyrtzidis 
							
						 
					 
					
						
						
							
						
						77eaa6880b 
					 
					
						
						
							
							-Move the DwarfWriter::ValidDebugInfo check to a static DIDescriptor::ValidDebugInfo  
						
						... 
						
						
						
						-Create DebugLocs without the need to have a DwarfWriter around
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70682  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-03 08:50:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						af5b6bb6a5 
					 
					
						
						
							
							Add a method to check that the subprogram holds debug info for the given Function or not.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69113  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-15 00:06:07 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						25cb0d75d0 
					 
					
						
						
							
							Do not ignore DW_TAG_class_type!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67675  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-25 03:52:06 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						0582ae99ba 
					 
					
						
						
							
							Oops...I committed too much.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66867  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 04:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						c7a09ab311 
					 
					
						
						
							
							Temporarily XFAIL this test.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66866  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 04:37:11 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						ff7d0e9509 
					 
					
						
						
							
							Global variables don't have a corresponding llvm.dbg.declare, yet it is possible  
						
						... 
						
						
						
						to obtain debug info about them.
Introduce helpers to access debug info for global variables. Also introduce a
helper that works for both local and global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66541  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-10 13:41:26 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						ccbdc7ab82 
					 
					
						
						
							
							Pass in a std::string when getting the names of debugging things. This cuts down  
						
						... 
						
						
						
						on the number of times a std::string is created and copied.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66396  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-09 05:04:40 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						667d4b8de6 
					 
					
						
						
							
							Introduce new linkage types linkonce_odr, weak_odr, common_odr  
						
						... 
						
						
						
						and extern_weak_odr.  These are the same as the non-odr versions,
except that they indicate that the global will only be overridden
by an *equivalent* global.  In C, a function with weak linkage can
be overridden by a function which behaves completely differently.
This means that IP passes have to skip weak functions, since any
deductions made from the function definition might be wrong, since
the definition could be replaced by something completely different
at link time.   This is not allowed in C++, thanks to the ODR
(One-Definition-Rule): if a function is replaced by another at
link-time, then the new function must be the same as the original
function.  If a language knows that a function or other global can
only be overridden by an equivalent global, it can give it the
weak_odr linkage type, and the optimizers will understand that it
is alright to make deductions based on the function body.  The
code generators on the other hand map weak and weak_odr linkage
to the same thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66339  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-07 15:45:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d8e880c670 
					 
					
						
						
							
							If compile unit's language is not set then don't crash while dump'ing compile unit.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65402  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-24 23:15:09 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						13319ceffd 
					 
					
						
						
							
							The debugger sometimes lookup dynamically in the runtime to find ivar info of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF.  
						
						... 
						
						
						
						Add support for two additional DWARF attributes to encode Objective-C runtime version number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64834  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-17 22:43:44 +00:00