mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	This reverts commit r218918, effectively reapplying r218914 after fixing an Ocaml bindings test and an Asan crash. The root cause of the latter was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a PR to investigate who requires the loose check (and why). Original commit message follows. -- This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219010 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			19 lines
		
	
	
		
			777 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			777 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc  -filetype=asm %s -o - | FileCheck %s
 | |
| 
 | |
| ; Verifies that the DWARF* sections come _after_ the __TEXT sections.
 | |
| ; rdar://problem/15623193
 | |
| 
 | |
| ; CHECK: .section	__TEXT,__text,
 | |
| ; CHECK-NOT: __DWARF,__debug
 | |
| ; CHECK: .section	__TEXT,__cstring,cstring_literals
 | |
| target triple = "thumbv7-apple-ios"
 | |
| 
 | |
| !llvm.module.flags = !{!3, !4}
 | |
| !llvm.dbg.cu = !{!0}
 | |
| 
 | |
| !0 = metadata !{metadata !"0x11\0012\00LLVM\001\00\00\00\00", metadata !5, metadata !1, metadata !1, metadata !1, metadata !1, null} ; [ DW_TAG_compile_unit ] [/Volumes/Data/radar/15623193/test.c] [DW_LANG_C99]
 | |
| !1 = metadata !{}
 | |
| !3 = metadata !{i32 2, metadata !"Dwarf Version", i32 2}
 | |
| !4 = metadata !{i32 1, metadata !"Debug Info Version", i32 2}
 | |
| !5 = metadata !{metadata !"test.c", metadata !"/Volumes/Data/radar/15623193"}
 |