Stuart Hastings 
							
						 
					 
					
						
						
							
						
						c0e2639a34 
					 
					
						
						
							
							Fix decl/def debug info for template functions.  Radar 8063111.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107919  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-08 22:28:59 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ca76f6f57c 
					 
					
						
						
							
							Reuse DIEInteger for 1. This is frequently used while emitting an attribute using dwarf::DW_FORM_flag form.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107903  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-08 20:10:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8aa61477e3 
					 
					
						
						
							
							One MDNode may be used to create regular DIE as well as abstract DIE.  
						
						... 
						
						
						
						Keep track of abstract subprogram DIEs. 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107822  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-07 22:20:57 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						869aa463c8 
					 
					
						
						
							
							Rename couple of maps.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107810  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-07 20:49:57 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6140962aba 
					 
					
						
						
							
							80 cols.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107807  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-07 20:12:52 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7fb231cbec 
					 
					
						
						
							
							Do not require line number entry for undefined local variable.  
						
						... 
						
						
						
						This is a regression caused by r106792 and caught by gdb testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107430  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-01 21:38:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						90e19aad7d 
					 
					
						
						
							
							Do not construct DIE for already processed MDNode.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107237  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-30 01:40:11 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1d68d21bae 
					 
					
						
						
							
							Add variables into a scope before constructing scope DIE otherwise variables won't be included DIE tree.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107228  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-30 00:11:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1e4782d6f9 
					 
					
						
						
							
							Do not hardcode DW_AT_stmt_list value.  
						
						... 
						
						
						
						Inspired by Artur Pietrek.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107202  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-29 20:17:53 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9b93b6b49a 
					 
					
						
						
							
							Use DW_FORM_addr for DW_AT_entry_pc.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107085  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 22:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0dd4558e7d 
					 
					
						
						
							
							Include inlined function in list of processed subprograms.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107065  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 20:53:04 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						4a1cad673c 
					 
					
						
						
							
							Preserve deleted function's local variables' debug info.  
						
						... 
						
						
						
						Radar 8122864.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107027  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 18:25:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f347b82d49 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106990  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-28 05:59:13 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						78e127d81b 
					 
					
						
						
							
							Collect debug info for optimized variables of inlined functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106895  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-25 22:07:34 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						486ca76421 
					 
					
						
						
							
							DBG_VALUE machine instruction pointing to undefined register for a variable justify a separate scope if the variable is inlined function's argument.  
						
						... 
						
						
						
						Radar 8122864.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106792  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-24 21:51:19 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						a762b09310 
					 
					
						
						
							
							Use single interface, using twine, to get named metadata.  
						
						... 
						
						
						
						getNamedMetadata().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106518  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-22 01:19:38 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7e1d742e1a 
					 
					
						
						
							
							Discard special LLVM prefix from linkage name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106516  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-22 01:06:05 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d1bbc6b70e 
					 
					
						
						
							
							Do not rely on Twine temporaries to survive.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106515  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-22 01:01:58 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						03c3dc7b68 
					 
					
						
						
							
							Give NamedRegionTimer an Enabled flag, allowing all its clients to  
						
						... 
						
						
						
						switch from this:
  if (TimePassesIsEnabled) {
    NamedRegionTimer T(Name, GroupName);
    do_something();
  } else {
    do_something(); // duplicate the code, this time without a timer!
  }
to this:
  {
    NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled);
    do_something();
  }
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106285  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-18 15:56:31 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2f7d5291de 
					 
					
						
						
							
							Use separate named MDNode to hold each function's local variable info.  
						
						... 
						
						
						
						This speeds up local variable handling in DwarfDebug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106075  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-16 00:53:55 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						cad22ad0bf 
					 
					
						
						
							
							Added a comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106063  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-15 23:06:30 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						215aa15a0d 
					 
					
						
						
							
							Support for nested functions/classes in debug output.  (Again.)  Radar 7424645.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105828  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-11 20:08:44 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						6d56b9fabc 
					 
					
						
						
							
							Revert 105492 & 105493 due to a testcase regression.  Radar 7424645.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105511  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-05 00:39:29 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						0f1b813567 
					 
					
						
						
							
							Support for nested functions/classes in debug output.  Radar 7424645.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105492  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-04 22:36:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						354eb7ea96 
					 
					
						
						
							
							Skip identical instruction while calculating DBG_VALUE range.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105340  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-02 19:05:13 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b9abe9f2ad 
					 
					
						
						
							
							Use local small vector.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105332  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-02 16:42:51 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f2e7767624 
					 
					
						
						
							
							Ignore line number of debug value in undefined register.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105292  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-01 21:43:09 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						8ffc42f8ea 
					 
					
						
						
							
							Revert 104841, 104842, 104876 due to buildbot failures.  Radar 7424645.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104953  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-28 16:41:07 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d8720f4ba3 
					 
					
						
						
							
							Do not drop location info for inlined function args.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104884  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-27 20:25:04 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						55e9717e59 
					 
					
						
						
							
							inlined function's arguments need a label to mark the start point because they are not directly attached to current function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104848  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-27 16:47:30 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						aa66d2f48a 
					 
					
						
						
							
							Support for nested functions/classes in debug output.  Radar 7424645.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104841  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-27 16:16:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						80250686d5 
					 
					
						
						
							
							Simplify. Eliminate unneeded debug_loc entry.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104785  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-26 23:55:23 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						77051f58e9 
					 
					
						
						
							
							There is no need to force an line number entry (using previous location) for a temp label at unknown location.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104740  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-26 21:23:46 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b2b31a6f93 
					 
					
						
						
							
							Identify instructions, that needs a label to mark debug info entity, in advance. This simplifies beginScope().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104720  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-26 19:37:24 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b21a758bc2 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104706  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-26 17:42:50 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e2df84254d 
					 
					
						
						
							
							Do not construct location list backword!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104705  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-26 17:29:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c3f5f783a2 
					 
					
						
						
							
							First cut at supporting .debug_loc section.  
						
						... 
						
						
						
						This is used to track variable information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104649  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-25 23:40:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						295cdf8b82 
					 
					
						
						
							
							Do not emit line number entries for unknown debug values.  
						
						... 
						
						
						
						This fixes recent regression in store.exp from gdb testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104524  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-24 18:26:49 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						65eb482e8f 
					 
					
						
						
							
							Collect variable information during endFunction() instead of beginFunction().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104412  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-22 00:04:14 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						379fe83dda 
					 
					
						
						
							
							Simplify  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104338  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-21 18:49:09 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c0c5a26dea 
					 
					
						
						
							
							Simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104302  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-21 00:10:20 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ee43286ca9 
					 
					
						
						
							
							Refactor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104265  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-20 19:57:06 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						26c1e56f13 
					 
					
						
						
							
							Split DbgVariable. Eventually, variable info will be communicated through frame index, or DBG_VALUE instruction, or collection of DBG_VALUE instructions. Plus each DbgVariable may not need a label.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104233  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-20 16:36:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						461a646a03 
					 
					
						
						
							
							Revert r104165.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104172  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-19 21:58:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f4ccaeaef9 
					 
					
						
						
							
							There is no need to maintain InsnsBeginScopeSet separately.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104165  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-19 21:26:53 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						26c6995654 
					 
					
						
						
							
							Do not forget to mark prcessed arguments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103822  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-14 21:55:50 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						98e1cac52c 
					 
					
						
						
							
							Add support to preserve type info for the variables that are removed by the optimizer.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103798  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-14 21:01:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						163a9f7c5f 
					 
					
						
						
							
							Enable multiple Compile Units in one module.  
						
						... 
						
						
						
						This means now 'llvm-ld a.bc b.bc' will preserve debug info appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103439  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-10 22:49:55 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c665a5146d 
					 
					
						
						
							
							Instead of just verifying compile unit, verify entire type, variable, namespace etc..  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103327  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-07 23:33:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						a49d877290 
					 
					
						
						
							
							Remove DIGlobal.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103325  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-05-07 23:19:07 +00:00