mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	DebugInfo: Add missing !dbg attachments to intrinsics
Add missing `!dbg` attachments to `@llvm.dbg.*` intrinsics. I updated these using a script (add-dbg-to-intrinsics.sh) that I'll attach to PR22778 for posterity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235040 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -118,7 +118,7 @@ entry:
 | 
			
		||||
 | 
			
		||||
  ; Insert a meaningless dbg.value intrinsic; it should have no
 | 
			
		||||
  ; effect on the working of DSE in any way.
 | 
			
		||||
  call void @llvm.dbg.value(metadata i32* undef, i64 0, metadata !10, metadata !MDExpression())
 | 
			
		||||
  call void @llvm.dbg.value(metadata i32* undef, i64 0, metadata !10, metadata !MDExpression()), !dbg !MDLocation(scope: !4)
 | 
			
		||||
 | 
			
		||||
  ; CHECK:  store i32 -1, i32* @x, align 4
 | 
			
		||||
  store i32 -1, i32* @x, align 4
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user