Devang Patel 
							
						 
					 
					
						
						
							
						
						70d75ca310 
					 
					
						
						
							
							"Attach debug info with llvm instructions" mode was enabled a month ago. Now make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87014  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-12 19:02:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						afa5a34b30 
					 
					
						
						
							
							Do not use StringRef in DebugInfo interface.  
						
						... 
						
						
						
						This allows StringRef to skip controversial if(str) check in constructor.
Buildbots, wait for corresponding clang and llvm-gcc FE check-ins!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86914  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-12 00:50:58 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						53bb5c95af 
					 
					
						
						
							
							Implement support to debug inlined functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86748  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-10 23:06:00 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6daf99bf8f 
					 
					
						
						
							
							Process InlinedAt location info.  
						
						... 
						
						
						
						Update InsertDeclare to return newly inserted llvm.dbg.declare intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86727  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-10 22:05:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ac16d44e58 
					 
					
						
						
							
							Add support to encode type info using llvm::Constant.  
						
						... 
						
						
						
						Patch by Talin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85126  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-26 16:54:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6e37f4878b 
					 
					
						
						
							
							Enable "debug info attached to an instruction" mode.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-12 23:22:09 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						beab41b874 
					 
					
						
						
							
							Extract subprogram and compile unit information from the debug info attached to an instruction.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83491  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-07 22:04:08 +00:00 
						 
				 
			
				
					
						
							
							
								Mike Stump 
							
						 
					 
					
						
						
							
						
						e4250396ea 
					 
					
						
						
							
							Expand api out in the usual inserter way, though, I do have a  
						
						... 
						
						
						
						question, can we get rid of the BasicBlock versions of all inserters
and use Head == 0 to indicate the old case when GetInsertBlock == 0?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83216  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-01 22:08:58 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						ecbeb1a490 
					 
					
						
						
							
							Add isFOO() helpers. Fix getDirectory() and getFilename() for DIScope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83180  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-30 22:34:41 +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 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						48a097bfb6 
					 
					
						
						
							
							Switch DIDescriptor to use a TrackingVH. - This makes it much safer to work with debug info, since it was extraordinarily easy to have dangling pointers thanks to MDNode uniquing.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82507  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-22 02:03:18 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						7dd76a1088 
					 
					
						
						
							
							Prefer super class constructor to explicit initialization.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82335  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-19 20:40:28 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						3fc19bbbbb 
					 
					
						
						
							
							Tabs -> spaces (really?)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82334  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-19 20:40:21 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						f612ff6cfb 
					 
					
						
						
							
							Strip trailing whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82332  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-19 20:40:05 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1b75f44bd9 
					 
					
						
						
							
							Provide a way to extract location info from DILocation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82064  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-16 18:20:05 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e5b1454cdd 
					 
					
						
						
							
							Add virtual destructor.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80660  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-01 05:04:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f98d8fee3c 
					 
					
						
						
							
							Introduce DILocation.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80648  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-01 01:14:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						58e7a2dfc2 
					 
					
						
						
							
							Add getDirectory() and getFilename() interface to DIScope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80647  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-01 00:53:21 +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 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5e005d814f 
					 
					
						
						
							
							Rename DIBlock as DILexicalBlock.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80633  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 22:00:15 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						c9f322d9a6 
					 
					
						
						
							
							Derive DICompileUnit from DIScope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80627  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 21:34:44 +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 
							
						 
					 
					
						
						
							
						
						43d98b3c4e 
					 
					
						
						
							
							Introduce DIScope.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80620  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 20:44:45 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6ceea33c5e 
					 
					
						
						
							
							Simplify isDerivedType() and other predicate interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80602  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-31 18:49:10 +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 
							
						 
					 
					
						
						
							
						
						a1ba269a27 
					 
					
						
						
							
							Closure is a very generic name. Use AppleBlock instead.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-27 23:51:51 +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 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e1f515ea59 
					 
					
						
						
							
							fix some funky indentation  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80068  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 04:21:30 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8af76bdb74 
					 
					
						
						
							
							Add isClosure() predicate. This is used to add DW_AT_APPLE_block attribute.  
						
						... 
						
						
						
						Patch by Caroline Tice.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80061  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 00:39:50 +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 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						12ddd40953 
					 
					
						
						
							
							Make LLVMContext and LLVMContextImpl classes instead of structs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78690  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-11 17:45:13 +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 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						27a201d236 
					 
					
						
						
							
							Fix comment.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78313  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-06 15:39:34 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						48b2f3e485 
					 
					
						
						
							
							Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h  
						
						... 
						
						
						
						not hideous.  Also, fix some MSVC compile errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-04 22:41:48 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e2d5a6c3bb 
					 
					
						
						
							
							80 columns!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77243  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 20:30:05 +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 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						460d16e126 
					 
					
						
						
							
							Match declaration to definition.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75438  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-12 22:46:08 +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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						e2f9382c72 
					 
					
						
						
							
							Remove unnecessary includes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74254  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-26 02:25:46 +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