Chris Lattner 
							
						 
					 
					
						
						
							
						
						1611273351 
					 
					
						
						
							
							change EH related stuff (other than EH_LABEL) to use MCSymbol  
						
						... 
						
						
						
						instead of label ID's.  This cleans up and regularizes a bunch 
of code and makes way for future progress.
Unfortunately, this pointed out to me that JITDwarfEmitter.cpp
is largely copy and paste from DwarfException/MachineModuleInfo
and other places.  This is very sad and disturbing. :(
One major change here is that TidyLandingPads moved from being
called in DwarfException::BeginFunction to being called in
DwarfException::EndFunction.  There should not be any 
functionality change from doing this, but I'm not an EH expert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98459  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-14 01:41:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						11d53c129f 
					 
					
						
						
							
							rearrange MCContext ownership.  Before LLVMTargetMachine created it  
						
						... 
						
						
						
						and passing off ownership to AsmPrinter.  Now MachineModuleInfo
creates it and owns it by value.  This allows us to use MCSymbols
more consistently throughout the rest of the code generator, and
simplifies a bit of code.  This also allows MachineFunction to 
keep an MCContext reference handy, and cleans up the TargetRegistry
interfaces for AsmPrinters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98450  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-13 20:55:24 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						cebae36f57 
					 
					
						
						
							
							Add a bit along with the MCSymbols stored in the MachineModuleInfo maps that  
						
						... 
						
						
						
						indicates that an MCSymbol is external or not. (It's true if it's external.)
This will be used to specify the correct information to add to non-lazy
pointers. That will be explained further when this bit is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98199  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-10 22:34:10 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a34ec2290f 
					 
					
						
						
							
							strength reduce MMI::MappedLabel to MMI::isLabelDeleted,  
						
						... 
						
						
						
						and add a FIXME about how we are eventually going to zap this
lookup table once mc world domination is complete.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98031  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-09 01:51:43 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						23071ce80b 
					 
					
						
						
							
							inline RemapLabel into its only caller and simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98029  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-03-09 01:29:59 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						9184b25fa5 
					 
					
						
						
							
							Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96285  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-02-15 22:35:59 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						ca752c9020 
					 
					
						
						
							
							Update of 94055 to track the IR level call site information via an intrinsic.  
						
						... 
						
						
						
						This allows code gen and the exception table writer to cooperate to make sure
landing pads are associated with the correct invoke locations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94726  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-28 01:45:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5c8697488a 
					 
					
						
						
							
							remove a noop function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94616  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-26 23:26:29 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						f38a33cd0a 
					 
					
						
						
							
							back this out for now. Growing Function is not good.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94097  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-21 20:10:22 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1548b863ce 
					 
					
						
						
							
							remove a couple of asserts that use RTTI.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94068  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-21 06:11:03 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Grosbach 
							
						 
					 
					
						
						
							
						
						d0a0c382ea 
					 
					
						
						
							
							Make sure that landing pad entries in the EH call site table are in the proper  
						
						... 
						
						
						
						order for SjLj style exception handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94055  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-01-21 00:43:30 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5660846f15 
					 
					
						
						
							
							Metadata.h doesn't need to include ValueHandle.h anymore.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92211  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-12-28 08:20:46 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						f5a7a2c84a 
					 
					
						
						
							
							Remove DebugLabelFolder pass. It is not used by dwarf writer anymore.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89790  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-11-24 19:37:07 +00:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
							
							
								Chandler Carruth 
							
						 
					 
					
						
						
							
						
						8b67f774e9 
					 
					
						
						
							
							Move DataTypes.h to include/llvm/System, update all users. This breaks the last  
						
						... 
						
						
						
						direct inclusion edge from System to Support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-26 01:35:46 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						b5681b2293 
					 
					
						
						
							
							Using TrackingVH instead of WeakVH or WeakMetadataVH.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84884  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-22 18:25:28 +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 
							
						 
					 
					
						
						
							
						
						ac1ceb3dd3 
					 
					
						
						
							
							Extract scope information from the variable itself, instead of relying on alloca or llvm.dbg.declare location.  
						
						... 
						
						
						
						While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83684  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-09 22:42:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						75549f4444 
					 
					
						
						
							
							If location info is attached with an instruction then keep track of alloca slots used by a variable. This info will be used by AsmPrinter to emit debug info for variables.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83189  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-10-01 01:03:26 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						69cc57c325 
					 
					
						
						
							
							Silence unused variable warning.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83151  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-30 17:13:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						fdc826f6e8 
					 
					
						
						
							
							Simplify.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83123  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-30 00:14:40 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						dc62ea0f1c 
					 
					
						
						
							
							move FnStubs/GVSTubs/HiddenGVStub handling out of the X86 asmprinter  
						
						... 
						
						
						
						and use MachineModuleInfoMachO instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82022  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-16 06:25:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						686cb3df6a 
					 
					
						
						
							
							add a new MachineModuleInfoMachO class, which is the per-module  
						
						... 
						
						
						
						stuff common across all macho targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82018  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-16 06:03:48 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f18545550e 
					 
					
						
						
							
							the pointer MMI keeps will start out with object-file format specific stuff  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82012  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-16 05:26:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						a70e2e3d48 
					 
					
						
						
							
							add hooks to hang target-specific goop off MachineModuleInfo,  
						
						... 
						
						
						
						move MachineFunctionInfo virtual method out of line to give it
a home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81940  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-15 22:44:26 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						401e10c4fb 
					 
					
						
						
							
							implement a new magic global "llvm.compiler.used" which is like llvm.used, but  
						
						... 
						
						
						
						doesn't cause ".no_dead_strip" to be emitted on darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76399  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-20 06:14:25 +00:00 
						 
				 
			
				
					
						
							
							
								Mike Stump 
							
						 
					 
					
						
						
							
						
						fe095f39e7 
					 
					
						
						
							
							Restore minor deletion.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70892  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-04 18:40:41 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						03f0a2fba0 
					 
					
						
						
							
							DebugLabelFolder ruthlessly deletes redundant labels. However, sometimes the redundant labels is referenced by debug info somewhere else. This patch provies a way so that dwarf writer can mark labels as used.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68813  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-10 18:58:59 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6268d69d73 
					 
					
						
						
							
							Remove dead code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-02-03 19:46:28 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						6906ba52f0 
					 
					
						
						
							
							Need only one set of debug info versions enum.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62602  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-20 19:22:03 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						bbdc8207d5 
					 
					
						
						
							
							Removoe MachineModuleInfo methods (and related DebugInfoDesc class  hierarchy) that were used to handle debug info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62199  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-13 23:54:55 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e2051627b8 
					 
					
						
						
							
							Keep "has debug info" big in MachineModuleInfo to avoid circular dependency between AsmPrinter and CodeGen.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62191  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-01-13 23:02:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						854967effe 
					 
					
						
						
							
							Today the front-ends (llvm-gcc and clang) generate multiple llvm.dbg.compile_units to identify source file for various debug entities. Each llvm.dbg.compile_unit matches one file on the disk. However, the backend only supports one DW_TAG_compile_unit per .o file. The backend selects first compile_unit from the vector to construct DW_TAG_compile_unit entry, which is not correct in all cases.  
						
						... 
						
						
						
						First step to resolve this is, record file name and directory directly in debug info for various debug entities. 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61164  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-12-17 22:39:29 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						94ea5be39f 
					 
					
						
						
							
							Fix a couple of Dwarf bugs.  
						
						... 
						
						
						
						- Emit DW_AT_byte_size for struct and union of size zero.
- Emit DW_AT_declaration for forward type declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60812  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-12-10 00:15:44 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						7ddcadc7ee 
					 
					
						
						
							
							Move the include of MachineLocation.h into MachineModuleInfo.h  
						
						... 
						
						
						
						because it declares a std::vector<MachineMove>, and strict
concept checking requires the definition of MachineMove to be
available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57617  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-10-16 00:20:14 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						667a68b96a 
					 
					
						
						
							
							Use StringMap for greater justice!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53202  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-07 20:59:31 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						c04f46567c 
					 
					
						
						
							
							Don't return std::vector by value, but pass it in by reference to be filled.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53123  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 23:13:02 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						10fff6078a 
					 
					
						
						
							
							Revert my previous check-in that split up MachineModuleInfo. It turns out to  
						
						... 
						
						
						
						slow the compiler down at -O0 some 30% or more. Ooops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53120  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-07-03 22:53:42 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						83b28890d8 
					 
					
						
						
							
							More cruft from revert...  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52809  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-27 01:37:37 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						914c970899 
					 
					
						
						
							
							Reverting broken patch r52803.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52806  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-27 01:27:56 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						e6b6bae536 
					 
					
						
						
							
							- Remove a use of std::vector.  
						
						... 
						
						
						
						- Make sure that we're not recalculating the size of a vector
  that never changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52803  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-27 00:56:36 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						305635abea 
					 
					
						
						
							
							Refactor the DebugInfoDesc stuff out of the MachineModuleInfo file. Clean up  
						
						... 
						
						
						
						some uses of std::vector, where it's return std::vector by value. Yuck!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52800  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-06-27 00:09:40 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						34cd4a484e 
					 
					
						
						
							
							Fix more -Wshorten-64-to-32 warnings.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-05-05 18:30:58 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						c76230b485 
					 
					
						
						
							
							Update comments to use 2.0 syntax type names.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49442  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-09 18:24:25 +00:00 
						 
				 
			
				
					
						
							
							
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						1532f3ddd7 
					 
					
						
						
							
							Recommitting EH patch; this should answer most of the  
						
						... 
						
						
						
						review feedback.
-enable-eh is still accepted but doesn't do anything.
EH intrinsics use Dwarf EH if the target supports that,
and are handled by LowerInvoke otherwise.
The separation of the EH table and frame move data is,
I think, logically figured out, but either one still
causes full EH info to be generated (not sure how to
split the metadata correctly).
MachineModuleInfo::needsFrameInfo is no longer used and
is removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49064  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-04-02 00:25:04 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						cfbb2f074d 
					 
					
						
						
							
							A quick nm audit turned up several fixed tables and objects that were  
						
						... 
						
						
						
						marked read-write. Use const so that they can be allocated in a
read-only segment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48800  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-03-25 21:45:14 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						a844bdeab3 
					 
					
						
						
							
							SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed" in the stack frame. It does not work for byval parameter, etc.  
						
						... 
						
						
						
						Added ISD::DECLARE node type to represent llvm.dbg.declare intrinsic. Now the intrinsic calls are lowered into a SDNode and lives on through out the codegen passes.
For now, since all the debugging information recording is done at isel time, when a ISD::DECLARE node is selected, it has the side effect of also recording the variable. This is a short term solution that should be fixed in time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46659  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-02-02 04:07:54 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						a647c92ec2 
					 
					
						
						
							
							Rename RecordLabel to RecordSourceLine because that's what it is doing.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46628  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-02-01 02:05:57 +00:00 
						 
				 
			
				
					
						
							
							
								Dale Johannesen 
							
						 
					 
					
						
						
							
						
						48ae02fe62 
					 
					
						
						
							
							Do not mark EH tables no-dead-strip unless the  
						
						... 
						
						
						
						associated function is so marked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46088  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2008-01-16 19:59:28 +00:00