mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Debug Info: update testing cases to specify the debug info version number.
We are going to drop debug info without a version number or with a different version number, to make sure we don't crash when we see bitcode files with different debug info metadata format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,6 +7,7 @@ entry:
|
||||
}
|
||||
|
||||
!llvm.dbg.cu = !{!2}
|
||||
!llvm.module.flags = !{!10}
|
||||
!7 = metadata !{metadata !0}
|
||||
|
||||
!0 = metadata !{i32 786478, metadata !9, metadata !1, metadata !"foo", metadata !"foo", metadata !"", i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, void ()* @foo, null, null, null, i32 0} ; [ DW_TAG_subprogram ]
|
||||
@@ -23,3 +24,4 @@ entry:
|
||||
; CHECK-NEXT: __debug_line
|
||||
; CHECK-NEXT: Lline_table_start0
|
||||
; CHECK-NEXT: Ltmp{{[0-9]}} = (Ltmp
|
||||
!10 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
|
||||
|
Reference in New Issue
Block a user