Devang Patel 
							
						 
					 
					
						
						
							
						
						bc2bb9bbd0 
					 
					
						
						
							
							Do not work too hard to find type's file info. There is a special field to record file info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117588  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-28 19:50:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3cabc9d2c9 
					 
					
						
						
							
							Technically DIFile scope should also be handled here.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117563  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-28 17:30:52 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						cbbe287f8a 
					 
					
						
						
							
							s/beginScope/beginInstruction/g  
						
						... 
						
						
						
						s/endScope/endInstruction/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117376  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-26 17:49:02 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						a568d66512 
					 
					
						
						
							
							For statistics that are only used in functions declared in !NDEBUG, wrap the  
						
						... 
						
						
						
						declarations in !NDEBUG to avoid -Wunused-variable warnings. Patch by
Matt Beaumont-Gay!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117345  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-26 00:51:57 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						9a31f0f398 
					 
					
						
						
							
							Add simple counter to count no. of basic blocks without any line number information. At -O0, these basic block coule cause less than optimial debugging experience.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-25 20:45:32 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b2bada305e 
					 
					
						
						
							
							Line number 0 indicates there is no source line/file name info available for this construct.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116061  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-08 17:18:54 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						7b172c6ae6 
					 
					
						
						
							
							Provie a clearner interface so that FE can decide whether a function has prototype or not.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115988  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-07 22:03:01 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d6747df5e0 
					 
					
						
						
							
							Add support for DW_TAG_unspecified_parameters.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115833  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-06 20:50:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						21ea1d5b4c 
					 
					
						
						
							
							Add support to let FE mark explict methods as explict in debug info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115378  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-01 23:31:40 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						3cf763dc7a 
					 
					
						
						
							
							Let FE mark a variable as artificial variable.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115102  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-29 23:07:21 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1a30123b60 
					 
					
						
						
							
							Add support to let FE encode method access specifier.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115089  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-29 21:44:16 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2a3616012c 
					 
					
						
						
							
							Assign DW_ACCESS_public accessibility attribute to members by default.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115067  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-29 19:08:08 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1a7ca0354a 
					 
					
						
						
							
							Provide an interface to let FEs anchor debug info for types.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114969  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-28 18:08:20 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ee70fa77b4 
					 
					
						
						
							
							Remove dead argument.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114920  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-27 23:15:27 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						be90c3a0ea 
					 
					
						
						
							
							Use DW_OP_fbreg when offset is based on frame register.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114585  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-22 21:10:38 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1905a18abc 
					 
					
						
						
							
							If FE forgot to provide a file name (usually it uses "stdin" as name in such situation) then make one up to ensure that debug info is not malformed.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114119  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-16 20:57:49 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b1fcfbe89b 
					 
					
						
						
							
							Fix .debug_range for linux. Patch by Krister Wombell.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112830  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-09-02 16:43:44 +00:00 
						 
				 
			
				
					
						
							
							
								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