Galina Kistanova 
							
						 
					 
					
						
						
							
						
						ef01f32d07 
					 
					
						
						
							
							Fix for DbgInfoPrinter.cpp:174:12: warning: ‘LineNo’ may be used uninitialized in this function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140281  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-09-21 23:34:23 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						fc0569e55a 
					 
					
						
						
							
							Move DbgInfoPrinter specific utlities inside DbgInfoPrinter.cpp  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125571  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-15 17:36:11 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						497acb91dc 
					 
					
						
						
							
							Print function info. Patch by Minjang Kim.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125567  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-15 17:24:56 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						081c34b725 
					 
					
						
						
							
							Get rid of static constructors for pass registration.  Instead, every pass exposes an initializeMyPassFunction(), which  
						
						... 
						
						
						
						must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
the pass's dependencies.
Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
before parsing commandline arguments.
I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
registration/creation, please send the testcase to me directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-19 17:21:58 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						ce665bd2e2 
					 
					
						
						
							
							Now with fewer extraneous semicolons!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115996  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-07 22:25:06 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						71802344fc 
					 
					
						
						
							
							Move the pass initialization helper functions into the llvm namespace, and add  
						
						... 
						
						
						
						a header declaring them all.  This is also where we will declare per-library pass-set
initializer functions down the road.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115900  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-07 04:13:08 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						7316638bc7 
					 
					
						
						
							
							Convert DbgInfoPrinter to use errs() instead of outs().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111659  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-20 18:03:05 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						90c579de5a 
					 
					
						
						
							
							Reapply r110396, with fixes to appease the Linux buildbot gods.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-06 18:33:48 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1f74590e9d 
					 
					
						
						
							
							Revert r110396 to fix buildbots.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-06 00:23:35 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9ccaf53ada 
					 
					
						
						
							
							Don't use PassInfo* as a type identifier for passes.  Instead, use the address of the static  
						
						... 
						
						
						
						ID member as the sole unique type identifier.  Clean up APIs related to this change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-05 23:42:04 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d13db2c59c 
					 
					
						
						
							
							Fix batch of converting RegisterPass<> to INTIALIZE_PASS().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-21 22:09:45 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						44a29e066a 
					 
					
						
						
							
							Remove dead debug info intrinsics.  
						
						... 
						
						
						
						Intrinsic::dbg_stoppoint
 Intrinsic::dbg_region_start 
 Intrinsic::dbg_region_end 
 Intrinsic::dbg_func_start
AutoUpgrade simply ignores these intrinsics now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92557  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-05 01:10:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f0908a351a 
					 
					
						
						
							
							fix Analysis/DebugInfo.h to not include Metadata.h.  Do this  
						
						... 
						
						
						
						by moving one method out of line and eliminating redundant checks
from other methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92337  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-12-31 03:02:08 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						524528e614 
					 
					
						
						
							
							Fix GetConstantStringInfo to not look into MDString (it works on  
						
						... 
						
						
						
						real data, not metadata) and fix DbgInfoPrinter to not abuse
GetConstantStringInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91444  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-12-15 19:34:20 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						6726b6d75a 
					 
					
						
						
							
							Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.  
						
						... 
						
						
						
						Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-25 06:33:48 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						5ccdd10b1a 
					 
					
						
						
							
							Remove std::string uses from DebugInfo interface.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83083  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-29 18:40:58 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e4b275610a 
					 
					
						
						
							
							Reapply 79977.  
						
						... 
						
						
						
						Use MDNodes to encode debug info in llvm IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-28 23:24:31 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						8245988835 
					 
					
						
						
							
							Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80073  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-26 05:01:18 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2a610c7387 
					 
					
						
						
							
							Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.  
						
						... 
						
						
						
						This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79977  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-25 05:24:07 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						0c0932f5e2 
					 
					
						
						
							
							Fix a missing newline (now that Value*'s operator<< doesn't append one).  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78814  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-08-12 16:48:27 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d933803b51 
					 
					
						
						
							
							Use getReturnTypeName() to print return type.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74017  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-23 22:23:13 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						e66b291240 
					 
					
						
						
							
							Clean up this file fixing 80-column violations, bad formatting, etc. No functionality change.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71781  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-14 18:16:46 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						0582ae99ba 
					 
					
						
						
							
							Oops...I committed too much.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66867  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 04:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						c7a09ab311 
					 
					
						
						
							
							Temporarily XFAIL this test.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66866  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-13 04:37:11 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						ff7d0e9509 
					 
					
						
						
							
							Global variables don't have a corresponding llvm.dbg.declare, yet it is possible  
						
						... 
						
						
						
						to obtain debug info about them.
Introduce helpers to access debug info for global variables. Also introduce a
helper that works for both local and global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66541  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-10 13:41:26 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						ccbdc7ab82 
					 
					
						
						
							
							Pass in a std::string when getting the names of debugging things. This cuts down  
						
						... 
						
						
						
						on the number of times a std::string is created and copied.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66396  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-03-09 05:04:40 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						6e68106a47 
					 
					
						
						
							
							Add -print-dbginfo pass that prints LLVM IR with comments inserted to show  
						
						... 
						
						
						
						which source/line a certain BB/instruction comes from, original variable names,
and original (unmangled) C++ name of functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61085  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-12-16 09:09:19 +00:00