mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 01:38:03 +00:00
Add comments to debug info testing case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cc41bf63c
commit
75a3ad485c
@ -3,14 +3,18 @@
|
||||
; RUN: llc -filetype=obj -O0 < %s > %t
|
||||
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
|
||||
; CHECK: [[TYPE:.*]]: DW_TAG_structure_type
|
||||
; Make sure we correctly handle containing type of a struct being a type identifier.
|
||||
; CHECK-NEXT: DW_AT_containing_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]})
|
||||
; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "C")
|
||||
; CHECK: [[SP:.*]]: DW_TAG_subprogram
|
||||
; Make sure we correctly handle containing type of a subprogram being a type identifier.
|
||||
; CHECK: DW_AT_containing_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]})
|
||||
; CHECK: [[TYPE2:.*]]: DW_TAG_structure_type
|
||||
; CHECK: DW_TAG_structure_type
|
||||
; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "D")
|
||||
; CHECK: DW_TAG_member
|
||||
; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "a")
|
||||
; Make sure we correctly handle context of a struct being a type identifier.
|
||||
; CHECK: DW_TAG_structure_type
|
||||
; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "Nested")
|
||||
; CHECK: DW_TAG_structure_type
|
||||
@ -18,17 +22,21 @@
|
||||
; CHECK-NEXT: DW_AT_declaration [DW_FORM_flag] (0x01)
|
||||
; CHECK: DW_TAG_structure_type
|
||||
; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "virt<bar>")
|
||||
; Make sure we correctly handle type of a template_type being a type identifier.
|
||||
; CHECK: DW_TAG_template_type_parameter
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]})
|
||||
; CHECK-NEXT: DW_AT_name [DW_FORM_strp] {{.*}}= "T")
|
||||
; Make sure we correctly handle derived-from of a typedef being a type identifier.
|
||||
; CHECK: DW_TAG_typedef
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]})
|
||||
; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "baz2")
|
||||
; Make sure we correctly handle derived-from of a pointer type being a type identifier.
|
||||
; CHECK: DW_TAG_pointer_type
|
||||
; CHECK: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]})
|
||||
; CHECK: DW_TAG_typedef
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]})
|
||||
; CHECK: DW_AT_name [DW_FORM_strp] {{.*}}= "baz")
|
||||
; Make sure we correctly handle derived-from of an array type being a type identifier.
|
||||
; CHECK: DW_TAG_array_type
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE2]]})
|
||||
; IR generated from clang -g with the following source:
|
||||
|
Loading…
x
Reference in New Issue
Block a user