Devang Patel 
							
						 
					 
					
						
						
							
						
						bdf45cbe15 
					 
					
						
						
							
							Do not held on to DenseMap slot accross map insertion. The insertion may cause the map to grow rending the slot invalid.  
						
						... 
						
						
						
						Use this opportunity to use ValueMap instead of DenseMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85298  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-27 20:47:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c90aefe95e 
					 
					
						
						
							
							Add support to record DbgScope as inlined scope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84134  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-14 21:08:09 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ac1ceb3dd3 
					 
					
						
						
							
							Extract scope information from the variable itself, instead of relying on alloca or llvm.dbg.declare location.  
						
						... 
						
						
						
						While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83684  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-09 22:42:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						eda312193d 
					 
					
						
						
							
							Do not record line number to implicitly mark start of function if function has arguments. Extra line number entries trip gdb in some cases.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83563  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-08 18:48:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						89703cf838 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83362  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-06 02:01:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0d20ac8d17 
					 
					
						
						
							
							Add utility routine to set begin and end labels for DbgScopes.  
						
						... 
						
						
						
						This will be used by processDebugLoc().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83361  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-06 01:50:42 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b39566d719 
					 
					
						
						
							
							Remove unintentional function decl.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83356  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-06 01:31:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e717faa467 
					 
					
						
						
							
							Add utility routine to collect variable debug info. This is not yet used.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83355  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-06 01:26:37 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						fd07cf56cd 
					 
					
						
						
							
							Adjust context for the global variables that are not at file scope, e.g.  
						
						... 
						
						
						
						void foo() { static int bar = 42; }
Here, foo's DIE is parent of bar's DIE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83344  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-05 23:40:42 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						af9e84701b 
					 
					
						
						
							
							Add support to extract lexical scope information from DebugLoc attached with an machine instruction.  
						
						... 
						
						
						
						This is not yet enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83210  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-01 20:31:14 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3d910835fc 
					 
					
						
						
							
							Use MDNode * directly as an RecordSourceLine() argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83182  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-30 22:51:28 +00:00 
						 
				 
			
				
					
						
							
							
								Mike Stump 
							
						 
					 
					
						
						
							
						
						3e4c9bdb67 
					 
					
						
						
							
							Add a way for a frontend to generate more complex dwarf location  
						
						... 
						
						
						
						information.  This allows arbitrary code involving DW_OP_plus_uconst
and DW_OP_deref.  The scheme allows for easy extention to include,
any, or all of the DW_OP_ opcodes.  I thought about just exposing all
of them, but, wasn't sure if people wanted the dwarf opcodes exposed
in the api.  Is that a layering violation?
With this scheme, the entire existing block scheme used by llvm-gcc
can be switched over to the new scheme.  I think that would be
cleaner, as then the compiler specific bits are not present in llvm
proper.  Before the old code can be yanked however, similar code in
clang would have to be removed.
Next up, more testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83120  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-30 00:08:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5ccdd10b1a 
					 
					
						
						
							
							Remove std::string uses from DebugInfo interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83083  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-29 18:40:58 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						82dfc0cd8c 
					 
					
						
						
							
							Subprogram is a scope. Derive DISubprogram from DIScope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80637  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 22:47:13 +00:00 
						 
				 
			
				
					
						
							
							
								Caroline Tice 
							
						 
					 
					
						
						
							
						
						dc8f6049d1 
					 
					
						
						
							
							Add flag to mark structs for Apple Block "byref" variables; also add code to  
						
						... 
						
						
						
						modify the type and location debug information for these variables to match the
programmer's expectations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80625  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 21:19:37 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e4b275610a 
					 
					
						
						
							
							Reapply 79977.  
						
						... 
						
						
						
						Use MDNodes to encode debug info in llvm IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-28 23:24:31 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8245988835 
					 
					
						
						
							
							Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80073  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 05:01:18 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2a610c7387 
					 
					
						
						
							
							Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.  
						
						... 
						
						
						
						This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79977  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-25 05:24:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						af76e592c7 
					 
					
						
						
							
							Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-22 20:48:53 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						24f20e0832 
					 
					
						
						
							
							Record variable debug info at ISel time directly.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79742  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-22 17:12:53 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a87dea4f8c 
					 
					
						
						
							
							switch off of 'Section' onto MCSection.  We're not properly using  
						
						... 
						
						
						
						MCSection subclasses yet, but this is a step in the right direction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77708  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-31 18:48:30 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						43da8fbe52 
					 
					
						
						
							
							revert rev. 75503 for now.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75507  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 21:26:33 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7597a6252b 
					 
					
						
						
							
							Use Mangler to remove leading '1' from linkage names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75503  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-13 21:19:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0a4afb6caf 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74949  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-07 21:12:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1dbc771a83 
					 
					
						
						
							
							s/MainCU/ModuleCU/g  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74452  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-29 20:45:18 +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 
							
						 
					 
					
						
						
							
						
						208622db8a 
					 
					
						
						
							
							Simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74215  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-25 22:36:02 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						1795616930 
					 
					
						
						
							
							Merge 'ConstructFunctionDbgScope' and 'ConstructAbstractDbgScope'.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72197  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-20 23:28:48 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						995f80ad5f 
					 
					
						
						
							
							Rename 'New*' methods to 'Create*' to be consistent. 'NewString' isn't used.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72196  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-20 23:24:48 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						f0fb987903 
					 
					
						
						
							
							Revert r72192. It was causing a build failure.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72193  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-20 23:19:06 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						63ad10c004 
					 
					
						
						
							
							Do some mechanical changes. Combine the 'construct abastract dbg thingy' in with  
						
						... 
						
						
						
						the 'constract function dbg thingy'. Rename some methods to make them consistent
with the rest of the methods. Move the 'Emit' methods to the end of the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72192  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-20 23:04:56 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						6679ee4e80 
					 
					
						
						
							
							RecordVariable is called each time a DECLARE node is encountered. For an inlined  
						
						... 
						
						
						
						function, this could be many, many times. We don't want to re-add variables to
that DIE for each time. We just want to add them once. Check to make sure that
we haven't added them already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72047  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-18 22:02:36 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						0310d768a1 
					 
					
						
						
							
							Split out the DwarfDebug module from the DwarfWriter module.  
						
						... 
						
						
						
						Again, no intendtional functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71854  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-15 09:23:25 +00:00