Fix for llvm-dwarfdump changes for subroutine types

llvm-svn: 348974
This commit is contained in:
David Blaikie 2018-12-12 21:15:48 +00:00
parent 68cbd6bdb2
commit 50c9bf45b5
1 changed files with 2 additions and 2 deletions

View File

@ -31,14 +31,14 @@
; CHECK: 0x00000043: DW_TAG_variable
; CHECK-NEXT: DW_AT_name ("ptr2")
; CHECK-NEXT: DW_AT_type (0x00000054 "subroutine *")
; CHECK-NEXT: DW_AT_type (0x00000054 "void()*")
; CHECK-NEXT: DW_AT_external (true)
; CHECK-NEXT: DW_AT_decl_file ("/usr/local/google/home/sbc/dev/wasm/simple{{[/\\]}}test.c")
; CHECK-NEXT: DW_AT_decl_line (5)
; CHECK-NEXT: DW_AT_location (DW_OP_addr 0x4)
; CHECK: 0x00000054: DW_TAG_pointer_type
; CHECK-NEXT: DW_AT_type (0x00000059 "subroutine ")
; CHECK-NEXT: DW_AT_type (0x00000059 "void()")
; CHECK: 0x00000059: DW_TAG_subroutine_type
; CHECK-NEXT: DW_AT_prototyped (true)