Devang Patel 
							
						 
					 
					
						
						
							
						
						ae84d5b9ba 
					 
					
						
						
							
							Use absolute label for DW_AT_stmt_list if a target does not prefer offset here.  
						
						... 
						
						
						
						This patch was developed on top of original patch by Artur Pietrek.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112678  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-31 23:50:19 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0b48eade42 
					 
					
						
						
							
							Reapply r112623. Included additional check for unused byval argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112659  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-31 22:22:42 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						81b79b5fa8 
					 
					
						
						
							
							Revert r112623. It is causing self host build failures.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112631  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-31 19:41:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8480c2e314 
					 
					
						
						
							
							Remember byval argument's frame index during argument lowering and use this info to emit debug info.  
						
						... 
						
						
						
						Fixes Radar 8367011.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112623  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-31 18:50:09 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9e3bd2c476 
					 
					
						
						
							
							Simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112583  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-31 06:11:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						af608bd4fe 
					 
					
						
						
							
							Revert r107202. It is not adding any value.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111870  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-24 00:06:12 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0c4720c6bd 
					 
					
						
						
							
							Handle qualified constants that are directly folded by FE.  
						
						... 
						
						
						
						PR 7920.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-23 18:25:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e7e5a0f6fb 
					 
					
						
						
							
							Do not forget debug info for enums. Use named mdnode to keep track of these types.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110712  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-10 20:01:20 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2936807564 
					 
					
						
						
							
							Handle TAG_constant for integers.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110656  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-10 07:11:13 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ecbd8e866b 
					 
					
						
						
							
							Simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-10 04:12:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						85e9580e25 
					 
					
						
						
							
							Drop "const". It does not add value here.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110652  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-10 04:09:06 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9fa539ce33 
					 
					
						
						
							
							Do not include file static variable in pubnames list.  
						
						... 
						
						
						
						Refactor and simplify code to avoid redundant checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110642  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-10 01:37:23 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						02ecdefbe4 
					 
					
						
						
							
							Undo accidental commit.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110623  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 23:28:52 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						450b793a04 
					 
					
						
						
							
							Simplify. Avoid redundant checks.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110621  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 23:26:06 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2739896cdd 
					 
					
						
						
							
							Refactor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110607  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 21:39:24 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8bd11de33e 
					 
					
						
						
							
							Refactoring. Update DbgVarible to handle queries itself.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110600  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 21:01:39 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8162574aaa 
					 
					
						
						
							
							It is ok, and convenient, to pass descriptors by value.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110590  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 20:20:05 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e03161c28e 
					 
					
						
						
							
							Rename a method.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110586  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-09 18:51:29 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5573a7da29 
					 
					
						
						
							
							Use location entry only of the location described by DBG_VALUE is valid.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110255  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-04 22:07:27 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						a54e0cca4b 
					 
					
						
						
							
							Fix typo in comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110244  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-04 20:32:36 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b2cf5816f9 
					 
					
						
						
							
							If a variable is spilled by code generator then use DW_OP_fbreg to describe its location on stack.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110234  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-04 18:40:52 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e9a1ccaf80 
					 
					
						
						
							
							Free DbgScope created for dead functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110045  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-02 17:32:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						37032350c8 
					 
					
						
						
							
							It is FE's responsibility to emit proper directory name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109538  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-27 20:51:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2f58485fc8 
					 
					
						
						
							
							Use current working directory when Dirname is empty. This only happens when absolute source file path is used on compiler command line.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109302  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-24 00:53:22 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5f2f69b648 
					 
					
						
						
							
							Revert r109262.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109285  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-23 23:04:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f83f42599d 
					 
					
						
						
							
							IF directory name is empty then try to extract one using absolute file name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109262  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-23 20:36:13 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						917290043f 
					 
					
						
						
							
							For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumb  
						
						... 
						
						
						
						rdar://8202967
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109057  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-21 23:03:52 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						1e20b96313 
					 
					
						
						
							
							80 column and trailing whitespace cleanup  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109037  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-21 21:21:52 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						872814ae04 
					 
					
						
						
							
							Disallow null as a named metadata operand.  
						
						... 
						
						
						
						Make MDNode::destroy private.
Fix the one thing that used MDNode::destroy, outside of MDNode itself.
One should never delete or destroy an MDNode explicitly. MDNodes
implicitly go away when there are no references to them (implementation
details aside).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109028  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-21 18:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						0db4271069 
					 
					
						
						
							
							Correct line info for declarations/definitions.  Radar 8063111.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108784  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-19 23:56:30 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8b3a6b651e 
					 
					
						
						
							
							Fix PR 7662.  
						
						... 
						
						
						
						Do not try to insert local variable info to a DIE used for function declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108731  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-19 17:53:55 +00:00 
						 
				 
			
				
					
						
							
							
								Stuart Hastings 
							
						 
					 
					
						
						
							
						
						99cfb69f17 
					 
					
						
						
							
							Reverting r107918 and r107919.  Radar 8063111.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107930  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-08 23:25:39 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						0afbf23453 
					 
					
						
						
							
							Relax assertion. In optimized code, it is possible that first instruction is coming from a inlined function.  
						
						... 
						
						
						
						This fixes PR7596 .
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107923  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-08 22:39:20 +00:00 
						 
				 
			
				
					
						
							
							
								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