[llvm] 1c45852 - Add C source to two debug info tests.

Evgenii Stepanov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 14:36:07 PST 2020


Author: Evgenii Stepanov
Date: 2020-01-02T14:35:54-08:00
New Revision: 1c45852c828dae0dd15136cda3d7fd6af0f75dc7

URL: https://github.com/llvm/llvm-project/commit/1c45852c828dae0dd15136cda3d7fd6af0f75dc7
DIFF: https://github.com/llvm/llvm-project/commit/1c45852c828dae0dd15136cda3d7fd6af0f75dc7.diff

LOG: Add C source to two debug info tests.

Reviewers: dblaikie, jhenderson

Subscribers: aprantl, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72024

Added: 
    

Modified: 
    llvm/test/tools/llvm-symbolizer/frame-loclist.s
    llvm/test/tools/llvm-symbolizer/frame-specification.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-symbolizer/frame-loclist.s b/llvm/test/tools/llvm-symbolizer/frame-loclist.s
index c18eed3bf616..f4af08f3d767 100644
--- a/llvm/test/tools/llvm-symbolizer/frame-loclist.s
+++ b/llvm/test/tools/llvm-symbolizer/frame-loclist.s
@@ -4,20 +4,54 @@
 // RUN: llvm-mc -filetype=obj -triple=aarch64-linux-android -o %t.o %s
 // RUN: echo 'FRAME %t.o 0x4'  | llvm-symbolizer | FileCheck %s --check-prefix=CHECK0
 // RUN: echo 'FRAME %t.o 0x24' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK1
-// RUN: echo 'FRAME %t.o 0x48' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK2
-// RUN: echo 'FRAME %t.o 0x6a' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK3
-// RUN: echo 'FRAME %t.o 0x9a' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK4
+// RUN: echo 'FRAME %t.o 0x44' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK2
+// RUN: echo 'FRAME %t.o 0x68' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK3
+// RUN: echo 'FRAME %t.o 0x94' | llvm-symbolizer | FileCheck %s --check-prefix=CHECK4
+
+// Built from the following source with
+// clang -target aarch64-linux-android -O3 -g -S
+// and edited to replace DW_OP_fbreg with DW_OP_breg29 in func00 (search for EDIT below).
+//
+// void use(void *);
+// void usei(int);
+// void func00() {
+//   int x;
+//   use(&x);
+// }
+//
+// void func0() {
+//   int x;
+//   use(&x);
+// }
+//
+// int func1() {
+//   int x;
+//   use(&x);
+//   return x;
+// }
+//
+// int func2() {
+//   int x = 1;
+//   use(&x);
+//   return x;
+// }
+//
+// int func3(int b) {
+//   int x = b;
+//   usei(x);
+//   return x;
+// }
 
 // DW_AT_location        (DW_OP_breg29 W29-4)
 // CHECK0:      func00
 // CHECK0-NEXT: x
-// CHECK0-NEXT: {{.*}}dbg.cc:7
+// CHECK0-NEXT: /tmp/dbg.c:4
 // CHECK0-NEXT: -4 4 ??
 
 // DW_AT_location        (DW_OP_fbreg -4)
 // CHECK1:      func0{{$}}
 // CHECK1-NEXT: x
-// CHECK1-NEXT: {{.*}}dbg.cc:12
+// CHECK1-NEXT: /tmp/dbg.c:9
 // CHECK1-NEXT: -4 4 ??
 
 // DW_AT_location        (0x00000000: 
@@ -25,7 +59,7 @@
 //   [0x0000000000000058, 0x000000000000005c): DW_OP_reg0 W0)
 // CHECK2:      func1
 // CHECK2-NEXT: x
-// CHECK2-NEXT: {{.*}}dbg.cc:17
+// CHECK2-NEXT: /tmp/dbg.c:14
 // CHECK2-NEXT: -4 4 ??
 
 // DW_AT_location        (0x00000037: 
@@ -34,27 +68,32 @@
 //    [0x0000000000000088, 0x000000000000008c): DW_OP_reg0 W0)
 // CHECK3:      func2
 // CHECK3-NEXT: x
-// CHECK3-NEXT: {{.*}}dbg.cc:23
+// CHECK3-NEXT: /tmp/dbg.c:20
 // CHECK3-NEXT: -4 4 ??
 
-// location lost
+// No stack location.
 // DW_AT_location        (0x00000083: 
-//    [0x00000000000000a8, 0x00000000000000b8): DW_OP_consts +1, DW_OP_stack_value
-//    [0x00000000000000b8, 0x00000000000000bc): DW_OP_reg0 W0)
+//     [0x0000000000000090, 0x00000000000000a0): DW_OP_reg0 W0
+//     [0x00000000000000a0, 0x00000000000000ac): DW_OP_reg19 W19)
 // CHECK4:      func3
+// CHECK4-NEXT: b
+// CHECK4-NEXT: /tmp/dbg.c:25
+// CHECK4-NEXT: ?? 4 ??
+// CHECK4-NEXT: func3
 // CHECK4-NEXT: x
-// CHECK4-NEXT: {{.*}}dbg.cc:29
+// CHECK4-NEXT: /tmp/dbg.c:26
 // CHECK4-NEXT: ?? 4 ??
-
+//
 	.text
-	.file	"dbg.cc"
-	.file	1 "/tmp" "dbg.cc"
+	.file	"dbg.c"
 	.globl	func00                  // -- Begin function func00
 	.p2align	2
 	.type	func00, at function
 func00:                                 // @func00
 .Lfunc_begin0:
-	.loc	1 6 0                   // /tmp/dbg.cc:6:0
+	.file	1 "/tmp" "dbg.c"
+	.loc	1 3 0                   // /tmp/dbg.c:3:0
+	.cfi_sections .debug_frame
 	.cfi_startproc
 // %bb.0:                               // %entry
 	sub	sp, sp, #32             // =32
@@ -65,11 +104,11 @@ func00:                                 // @func00
 	.cfi_offset w29, -16
 .Ltmp0:
 	//DEBUG_VALUE: func00:x <- [DW_OP_constu 4, DW_OP_minus, DW_OP_deref] $fp
-	.loc	1 8 3 prologue_end      // /tmp/dbg.cc:8:3
+	.loc	1 5 3 prologue_end      // /tmp/dbg.c:5:3
 	sub	x0, x29, #4             // =4
 	bl	use
 .Ltmp1:
-	.loc	1 9 1                   // /tmp/dbg.cc:9:1
+	.loc	1 6 1                   // /tmp/dbg.c:6:1
 	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
 	add	sp, sp, #32             // =32
 	ret
@@ -83,7 +122,7 @@ func00:                                 // @func00
 	.type	func0, at function
 func0:                                  // @func0
 .Lfunc_begin1:
-	.loc	1 11 0                  // /tmp/dbg.cc:11:0
+	.loc	1 8 0                   // /tmp/dbg.c:8:0
 	.cfi_startproc
 // %bb.0:                               // %entry
 	sub	sp, sp, #32             // =32
@@ -94,11 +133,11 @@ func0:                                  // @func0
 	.cfi_offset w29, -16
 .Ltmp3:
 	//DEBUG_VALUE: func0:x <- [DW_OP_constu 4, DW_OP_minus, DW_OP_deref] $fp
-	.loc	1 13 3 prologue_end     // /tmp/dbg.cc:13:3
+	.loc	1 10 3 prologue_end     // /tmp/dbg.c:10:3
 	sub	x0, x29, #4             // =4
 	bl	use
 .Ltmp4:
-	.loc	1 14 1                  // /tmp/dbg.cc:14:1
+	.loc	1 11 1                  // /tmp/dbg.c:11:1
 	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
 	add	sp, sp, #32             // =32
 	ret
@@ -112,7 +151,7 @@ func0:                                  // @func0
 	.type	func1, at function
 func1:                                  // @func1
 .Lfunc_begin2:
-	.loc	1 16 0                  // /tmp/dbg.cc:16:0
+	.loc	1 13 0                  // /tmp/dbg.c:13:0
 	.cfi_startproc
 // %bb.0:                               // %entry
 	sub	sp, sp, #32             // =32
@@ -123,22 +162,19 @@ func1:                                  // @func1
 	.cfi_offset w29, -16
 .Ltmp6:
 	//DEBUG_VALUE: func1:x <- [DW_OP_constu 4, DW_OP_minus, DW_OP_deref] $fp
-	.loc	1 18 3 prologue_end     // /tmp/dbg.cc:18:3
+	.loc	1 15 3 prologue_end     // /tmp/dbg.c:15:3
 	sub	x0, x29, #4             // =4
 	bl	use
 .Ltmp7:
-	.loc	1 19 8                  // /tmp/dbg.cc:19:8
+	.loc	1 16 10                 // /tmp/dbg.c:16:10
 	ldur	w0, [x29, #-4]
 .Ltmp8:
 	//DEBUG_VALUE: func1:x <- $w0
-	.loc	1 19 3 is_stmt 0        // /tmp/dbg.cc:19:3
-	bl	usev
-.Ltmp9:
-	.loc	1 20 1 is_stmt 1        // /tmp/dbg.cc:20:1
+	.loc	1 16 3 is_stmt 0        // /tmp/dbg.c:16:3
 	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
 	add	sp, sp, #32             // =32
 	ret
-.Ltmp10:
+.Ltmp9:
 .Lfunc_end2:
 	.size	func1, .Lfunc_end2-func1
 	.cfi_endproc
@@ -148,7 +184,7 @@ func1:                                  // @func1
 	.type	func2, at function
 func2:                                  // @func2
 .Lfunc_begin3:
-	.loc	1 22 0                  // /tmp/dbg.cc:22:0
+	.loc	1 19 0 is_stmt 1        // /tmp/dbg.c:19:0
 	.cfi_startproc
 // %bb.0:                               // %entry
 	sub	sp, sp, #32             // =32
@@ -158,29 +194,26 @@ func2:                                  // @func2
 	.cfi_offset w30, -8
 	.cfi_offset w29, -16
 	mov	w8, #1
-.Ltmp11:
+.Ltmp10:
 	//DEBUG_VALUE: func2:x <- 1
-	.loc	1 24 3 prologue_end     // /tmp/dbg.cc:24:3
+	.loc	1 21 3 prologue_end     // /tmp/dbg.c:21:3
 	sub	x0, x29, #4             // =4
-	.loc	1 23 7                  // /tmp/dbg.cc:23:7
+	.loc	1 20 7                  // /tmp/dbg.c:20:7
 	stur	w8, [x29, #-4]
-.Ltmp12:
+.Ltmp11:
 	//DEBUG_VALUE: func2:x <- [DW_OP_constu 4, DW_OP_minus, DW_OP_deref] $fp
-	.loc	1 24 3                  // /tmp/dbg.cc:24:3
+	.loc	1 21 3                  // /tmp/dbg.c:21:3
 	bl	use
-.Ltmp13:
-	.loc	1 25 8                  // /tmp/dbg.cc:25:8
+.Ltmp12:
+	.loc	1 22 10                 // /tmp/dbg.c:22:10
 	ldur	w0, [x29, #-4]
-.Ltmp14:
+.Ltmp13:
 	//DEBUG_VALUE: func2:x <- $w0
-	.loc	1 25 3 is_stmt 0        // /tmp/dbg.cc:25:3
-	bl	usev
-.Ltmp15:
-	.loc	1 26 1 is_stmt 1        // /tmp/dbg.cc:26:1
+	.loc	1 22 3 is_stmt 0        // /tmp/dbg.c:22:3
 	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
 	add	sp, sp, #32             // =32
 	ret
-.Ltmp16:
+.Ltmp14:
 .Lfunc_end3:
 	.size	func2, .Lfunc_end3-func2
 	.cfi_endproc
@@ -190,68 +223,64 @@ func2:                                  // @func2
 	.type	func3, at function
 func3:                                  // @func3
 .Lfunc_begin4:
-	.loc	1 28 0                  // /tmp/dbg.cc:28:0
+	.loc	1 25 0 is_stmt 1        // /tmp/dbg.c:25:0
 	.cfi_startproc
 // %bb.0:                               // %entry
-	sub	sp, sp, #32             // =32
-	stp	x29, x30, [sp, #16]     // 16-byte Folded Spill
-	add	x29, sp, #16            // =16
-	.cfi_def_cfa w29, 16
-	.cfi_offset w30, -8
-	.cfi_offset w29, -16
-	mov	w8, #1
+	//DEBUG_VALUE: func3:b <- $w0
+	stp	x29, x30, [sp, #-32]!   // 16-byte Folded Spill
+	str	x19, [sp, #16]          // 8-byte Folded Spill
+	mov	x29, sp
+	.cfi_def_cfa w29, 32
+	.cfi_offset w19, -16
+	.cfi_offset w30, -24
+	.cfi_offset w29, -32
+.Ltmp15:
+	//DEBUG_VALUE: func3:x <- $w0
+	mov	w19, w0
+.Ltmp16:
+	//DEBUG_VALUE: func3:x <- $w19
+	//DEBUG_VALUE: func3:b <- $w19
+	.loc	1 27 3 prologue_end     // /tmp/dbg.c:27:3
+	bl	usei
 .Ltmp17:
-	//DEBUG_VALUE: func3:x <- 1
-	.loc	1 30 3 prologue_end     // /tmp/dbg.cc:30:3
-	sub	x0, x29, #4             // =4
-	.loc	1 29 7                  // /tmp/dbg.cc:29:7
-	stur	w8, [x29, #-4]
-	.loc	1 30 3                  // /tmp/dbg.cc:30:3
-	bl	useV
+	.loc	1 28 3                  // /tmp/dbg.c:28:3
+	mov	w0, w19
+	ldr	x19, [sp, #16]          // 8-byte Folded Reload
 .Ltmp18:
-	.loc	1 31 8                  // /tmp/dbg.cc:31:8
-	ldur	w0, [x29, #-4]
-.Ltmp19:
-	//DEBUG_VALUE: func3:x <- $w0
-	.loc	1 31 3 is_stmt 0        // /tmp/dbg.cc:31:3
-	bl	usev
-.Ltmp20:
-	.loc	1 32 1 is_stmt 1        // /tmp/dbg.cc:32:1
-	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
-	add	sp, sp, #32             // =32
+	ldp	x29, x30, [sp], #32     // 16-byte Folded Reload
 	ret
-.Ltmp21:
+.Ltmp19:
 .Lfunc_end4:
 	.size	func3, .Lfunc_end4-func3
 	.cfi_endproc
                                         // -- End function
 	.section	.debug_str,"MS", at progbits,1
 .Linfo_string0:
-	.asciz	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 5d25e153457e7bdd4181ab7496402a565a5b9370)" // string offset=0
+	.asciz	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 092ef9c6cf4678d2b8df7738110ecd405fe1fe3d)" // string offset=0
 .Linfo_string1:
-	.asciz	"/tmp/dbg.cc"           // string offset=101
+	.asciz	"/tmp/dbg.c"            // string offset=101
 .Linfo_string2:
-	.asciz	"/code/build-llvm-cmake" // string offset=113
+	.asciz	"/code/build-llvm-cmake" // string offset=112
 .Linfo_string3:
-	.asciz	"use"                   // string offset=136
+	.asciz	"use"                   // string offset=135
 .Linfo_string4:
-	.asciz	"int"                   // string offset=140
+	.asciz	"usei"                  // string offset=139
 .Linfo_string5:
-	.asciz	"usev"                  // string offset=144
+	.asciz	"int"                   // string offset=144
 .Linfo_string6:
-	.asciz	"useV"                  // string offset=149
+	.asciz	"func00"                // string offset=148
 .Linfo_string7:
-	.asciz	"func00"                // string offset=154
+	.asciz	"func0"                 // string offset=155
 .Linfo_string8:
-	.asciz	"func0"                 // string offset=161
+	.asciz	"func1"                 // string offset=161
 .Linfo_string9:
-	.asciz	"func1"                 // string offset=167
+	.asciz	"func2"                 // string offset=167
 .Linfo_string10:
-	.asciz	"func2"                 // string offset=173
+	.asciz	"func3"                 // string offset=173
 .Linfo_string11:
-	.asciz	"func3"                 // string offset=179
+	.asciz	"x"                     // string offset=179
 .Linfo_string12:
-	.asciz	"x"                     // string offset=185
+	.asciz	"b"                     // string offset=181
 	.section	.debug_loc,"", at progbits
 .Ldebug_loc0:
 	.xword	.Ltmp6-.Lfunc_begin0
@@ -260,40 +289,49 @@ func3:                                  // @func3
 	.byte	141                     // DW_OP_breg29
 	.byte	124                     // -4
 	.xword	.Ltmp8-.Lfunc_begin0
-	.xword	.Ltmp9-.Lfunc_begin0
+	.xword	.Lfunc_end2-.Lfunc_begin0
 	.hword	1                       // Loc expr size
 	.byte	80                      // DW_OP_reg0
 	.xword	0
 	.xword	0
 .Ldebug_loc1:
+	.xword	.Ltmp10-.Lfunc_begin0
 	.xword	.Ltmp11-.Lfunc_begin0
-	.xword	.Ltmp12-.Lfunc_begin0
 	.hword	3                       // Loc expr size
 	.byte	17                      // DW_OP_consts
 	.byte	1                       // 1
 	.byte	159                     // DW_OP_stack_value
-	.xword	.Ltmp12-.Lfunc_begin0
-	.xword	.Ltmp14-.Lfunc_begin0
+	.xword	.Ltmp11-.Lfunc_begin0
+	.xword	.Ltmp13-.Lfunc_begin0
 	.hword	2                       // Loc expr size
 	.byte	141                     // DW_OP_breg29
 	.byte	124                     // -4
-	.xword	.Ltmp14-.Lfunc_begin0
-	.xword	.Ltmp15-.Lfunc_begin0
+	.xword	.Ltmp13-.Lfunc_begin0
+	.xword	.Lfunc_end3-.Lfunc_begin0
 	.hword	1                       // Loc expr size
 	.byte	80                      // DW_OP_reg0
 	.xword	0
 	.xword	0
 .Ldebug_loc2:
-	.xword	.Ltmp17-.Lfunc_begin0
-	.xword	.Ltmp19-.Lfunc_begin0
-	.hword	3                       // Loc expr size
-	.byte	17                      // DW_OP_consts
-	.byte	1                       // 1
-	.byte	159                     // DW_OP_stack_value
-	.xword	.Ltmp19-.Lfunc_begin0
-	.xword	.Ltmp20-.Lfunc_begin0
+	.xword	.Lfunc_begin4-.Lfunc_begin0
+	.xword	.Ltmp16-.Lfunc_begin0
+	.hword	1                       // Loc expr size
+	.byte	80                      // DW_OP_reg0
+	.xword	.Ltmp16-.Lfunc_begin0
+	.xword	.Ltmp18-.Lfunc_begin0
+	.hword	1                       // Loc expr size
+	.byte	99                      // DW_OP_reg19
+	.xword	0
+	.xword	0
+.Ldebug_loc3:
+	.xword	.Ltmp15-.Lfunc_begin0
+	.xword	.Ltmp16-.Lfunc_begin0
 	.hword	1                       // Loc expr size
 	.byte	80                      // DW_OP_reg0
+	.xword	.Ltmp16-.Lfunc_begin0
+	.xword	.Ltmp18-.Lfunc_begin0
+	.hword	1                       // Loc expr size
+	.byte	99                      // DW_OP_reg19
 	.xword	0
 	.xword	0
 	.section	.debug_abbrev,"", at progbits
@@ -319,49 +357,78 @@ func3:                                  // @func3
 	.byte	2                       // Abbreviation Code
 	.byte	46                      // DW_TAG_subprogram
 	.byte	1                       // DW_CHILDREN_yes
+	.byte	17                      // DW_AT_low_pc
+	.byte	1                       // DW_FORM_addr
+	.byte	18                      // DW_AT_high_pc
+	.byte	6                       // DW_FORM_data4
+	.byte	64                      // DW_AT_frame_base
+	.byte	24                      // DW_FORM_exprloc
+	.ascii	"\227B"                 // DW_AT_GNU_all_call_sites
+	.byte	25                      // DW_FORM_flag_present
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
 	.byte	58                      // DW_AT_decl_file
 	.byte	11                      // DW_FORM_data1
 	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
-	.byte	60                      // DW_AT_declaration
-	.byte	25                      // DW_FORM_flag_present
 	.byte	63                      // DW_AT_external
 	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	3                       // Abbreviation Code
-	.byte	5                       // DW_TAG_formal_parameter
+	.byte	52                      // DW_TAG_variable
 	.byte	0                       // DW_CHILDREN_no
+	.byte	2                       // DW_AT_location
+	.byte	24                      // DW_FORM_exprloc
+	.byte	3                       // DW_AT_name
+	.byte	14                      // DW_FORM_strp
+	.byte	58                      // DW_AT_decl_file
+	.byte	11                      // DW_FORM_data1
+	.byte	59                      // DW_AT_decl_line
+	.byte	11                      // DW_FORM_data1
 	.byte	73                      // DW_AT_type
 	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	4                       // Abbreviation Code
-	.byte	15                      // DW_TAG_pointer_type
+	.ascii	"\211\202\001"          // DW_TAG_GNU_call_site
 	.byte	0                       // DW_CHILDREN_no
-	.byte	73                      // DW_AT_type
+	.byte	49                      // DW_AT_abstract_origin
 	.byte	19                      // DW_FORM_ref4
+	.byte	17                      // DW_AT_low_pc
+	.byte	1                       // DW_FORM_addr
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	5                       // Abbreviation Code
-	.byte	36                      // DW_TAG_base_type
-	.byte	0                       // DW_CHILDREN_no
+	.byte	46                      // DW_TAG_subprogram
+	.byte	1                       // DW_CHILDREN_yes
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
-	.byte	62                      // DW_AT_encoding
+	.byte	58                      // DW_AT_decl_file
 	.byte	11                      // DW_FORM_data1
-	.byte	11                      // DW_AT_byte_size
+	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
+	.byte	39                      // DW_AT_prototyped
+	.byte	25                      // DW_FORM_flag_present
+	.byte	60                      // DW_AT_declaration
+	.byte	25                      // DW_FORM_flag_present
+	.byte	63                      // DW_AT_external
+	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	6                       // Abbreviation Code
-	.byte	15                      // DW_TAG_pointer_type
+	.byte	5                       // DW_TAG_formal_parameter
 	.byte	0                       // DW_CHILDREN_no
+	.byte	73                      // DW_AT_type
+	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	7                       // Abbreviation Code
+	.byte	15                      // DW_TAG_pointer_type
+	.byte	0                       // DW_CHILDREN_no
+	.byte	0                       // EOM(1)
+	.byte	0                       // EOM(2)
+	.byte	8                       // Abbreviation Code
 	.byte	46                      // DW_TAG_subprogram
 	.byte	1                       // DW_CHILDREN_yes
 	.byte	17                      // DW_AT_low_pc
@@ -378,15 +445,17 @@ func3:                                  // @func3
 	.byte	11                      // DW_FORM_data1
 	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
+	.byte	73                      // DW_AT_type
+	.byte	19                      // DW_FORM_ref4
 	.byte	63                      // DW_AT_external
 	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	8                       // Abbreviation Code
+	.byte	9                       // Abbreviation Code
 	.byte	52                      // DW_TAG_variable
 	.byte	0                       // DW_CHILDREN_no
 	.byte	2                       // DW_AT_location
-	.byte	24                      // DW_FORM_exprloc
+	.byte	23                      // DW_FORM_sec_offset
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
 	.byte	58                      // DW_AT_decl_file
@@ -397,17 +466,33 @@ func3:                                  // @func3
 	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	9                       // Abbreviation Code
-	.ascii	"\211\202\001"          // DW_TAG_GNU_call_site
-	.byte	0                       // DW_CHILDREN_no
-	.byte	49                      // DW_AT_abstract_origin
-	.byte	19                      // DW_FORM_ref4
+	.byte	10                      // Abbreviation Code
+	.byte	46                      // DW_TAG_subprogram
+	.byte	1                       // DW_CHILDREN_yes
 	.byte	17                      // DW_AT_low_pc
 	.byte	1                       // DW_FORM_addr
+	.byte	18                      // DW_AT_high_pc
+	.byte	6                       // DW_FORM_data4
+	.byte	64                      // DW_AT_frame_base
+	.byte	24                      // DW_FORM_exprloc
+	.ascii	"\227B"                 // DW_AT_GNU_all_call_sites
+	.byte	25                      // DW_FORM_flag_present
+	.byte	3                       // DW_AT_name
+	.byte	14                      // DW_FORM_strp
+	.byte	58                      // DW_AT_decl_file
+	.byte	11                      // DW_FORM_data1
+	.byte	59                      // DW_AT_decl_line
+	.byte	11                      // DW_FORM_data1
+	.byte	39                      // DW_AT_prototyped
+	.byte	25                      // DW_FORM_flag_present
+	.byte	73                      // DW_AT_type
+	.byte	19                      // DW_FORM_ref4
+	.byte	63                      // DW_AT_external
+	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	10                      // Abbreviation Code
-	.byte	52                      // DW_TAG_variable
+	.byte	11                      // Abbreviation Code
+	.byte	5                       // DW_TAG_formal_parameter
 	.byte	0                       // DW_CHILDREN_no
 	.byte	2                       // DW_AT_location
 	.byte	23                      // DW_FORM_sec_offset
@@ -421,6 +506,17 @@ func3:                                  // @func3
 	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
+	.byte	12                      // Abbreviation Code
+	.byte	36                      // DW_TAG_base_type
+	.byte	0                       // DW_CHILDREN_no
+	.byte	3                       // DW_AT_name
+	.byte	14                      // DW_FORM_strp
+	.byte	62                      // DW_AT_encoding
+	.byte	11                      // DW_FORM_data1
+	.byte	11                      // DW_AT_byte_size
+	.byte	11                      // DW_FORM_data1
+	.byte	0                       // EOM(1)
+	.byte	0                       // EOM(2)
 	.byte	0                       // EOM(3)
 	.section	.debug_info,"", at progbits
 .Lcu_begin0:
@@ -429,164 +525,156 @@ func3:                                  // @func3
 	.hword	4                       // DWARF version number
 	.word	.debug_abbrev           // Offset Into Abbrev. Section
 	.byte	8                       // Address Size (in bytes)
-	.byte	1                       // Abbrev [1] 0xb:0x173 DW_TAG_compile_unit
+	.byte	1                       // Abbrev [1] 0xb:0x155 DW_TAG_compile_unit
 	.word	.Linfo_string0          // DW_AT_producer
-	.hword	33                      // DW_AT_language
+	.hword	12                      // DW_AT_language
 	.word	.Linfo_string1          // DW_AT_name
 	.word	.Lline_table_start0     // DW_AT_stmt_list
 	.word	.Linfo_string2          // DW_AT_comp_dir
 	.xword	.Lfunc_begin0           // DW_AT_low_pc
 	.word	.Lfunc_end4-.Lfunc_begin0 // DW_AT_high_pc
-	.byte	2                       // Abbrev [2] 0x2a:0xd DW_TAG_subprogram
-	.word	.Linfo_string3          // DW_AT_name
-	.byte	1                       // DW_AT_decl_file
-	.byte	3                       // DW_AT_decl_line
-                                        // DW_AT_declaration
-                                        // DW_AT_external
-	.byte	3                       // Abbrev [3] 0x31:0x5 DW_TAG_formal_parameter
-	.word	55                      // DW_AT_type
-	.byte	0                       // End Of Children Mark
-	.byte	4                       // Abbrev [4] 0x37:0x5 DW_TAG_pointer_type
-	.word	60                      // DW_AT_type
-	.byte	5                       // Abbrev [5] 0x3c:0x7 DW_TAG_base_type
-	.word	.Linfo_string4          // DW_AT_name
-	.byte	5                       // DW_AT_encoding
-	.byte	4                       // DW_AT_byte_size
-	.byte	2                       // Abbrev [2] 0x43:0xd DW_TAG_subprogram
-	.word	.Linfo_string5          // DW_AT_name
-	.byte	1                       // DW_AT_decl_file
-	.byte	4                       // DW_AT_decl_line
-                                        // DW_AT_declaration
-                                        // DW_AT_external
-	.byte	3                       // Abbrev [3] 0x4a:0x5 DW_TAG_formal_parameter
-	.word	60                      // DW_AT_type
-	.byte	0                       // End Of Children Mark
-	.byte	2                       // Abbrev [2] 0x50:0xd DW_TAG_subprogram
-	.word	.Linfo_string6          // DW_AT_name
-	.byte	1                       // DW_AT_decl_file
-	.byte	2                       // DW_AT_decl_line
-                                        // DW_AT_declaration
-                                        // DW_AT_external
-	.byte	3                       // Abbrev [3] 0x57:0x5 DW_TAG_formal_parameter
-	.word	93                      // DW_AT_type
-	.byte	0                       // End Of Children Mark
-	.byte	6                       // Abbrev [6] 0x5d:0x1 DW_TAG_pointer_type
-	.byte	7                       // Abbrev [7] 0x5e:0x31 DW_TAG_subprogram
+	.byte	2                       // Abbrev [2] 0x2a:0x31 DW_TAG_subprogram
 	.xword	.Lfunc_begin0           // DW_AT_low_pc
 	.word	.Lfunc_end0-.Lfunc_begin0 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
                                         // DW_AT_GNU_all_call_sites
-	.word	.Linfo_string7          // DW_AT_name
+	.word	.Linfo_string6          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	6                       // DW_AT_decl_line
+	.byte	3                       // DW_AT_decl_line
                                         // DW_AT_external
-	.byte	8                       // Abbrev [8] 0x73:0xe DW_TAG_variable
+	.byte	3                       // Abbrev [3] 0x3f:0xe DW_TAG_variable
 	.byte	2                       // DW_AT_location
-	.byte	141                     // DW_OP_breg29
+	.byte	141                     // DW_OP_breg29  !!! EDIT: 145 (fbreg) to 141 (breg29)
 	.byte	124                     // -4
-	.word	.Linfo_string12         // DW_AT_name
+	.word	.Linfo_string11         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	7                       // DW_AT_decl_line
-	.word	60                      // DW_AT_type
-	.byte	9                       // Abbrev [9] 0x81:0xd DW_TAG_GNU_call_site
-	.word	42                      // DW_AT_abstract_origin
+	.byte	4                       // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	4                       // Abbrev [4] 0x4d:0xd DW_TAG_GNU_call_site
+	.word	91                      // DW_AT_abstract_origin
 	.xword	.Ltmp1                  // DW_AT_low_pc
 	.byte	0                       // End Of Children Mark
-	.byte	7                       // Abbrev [7] 0x8f:0x31 DW_TAG_subprogram
+	.byte	5                       // Abbrev [5] 0x5b:0xd DW_TAG_subprogram
+	.word	.Linfo_string3          // DW_AT_name
+	.byte	1                       // DW_AT_decl_file
+	.byte	1                       // DW_AT_decl_line
+                                        // DW_AT_prototyped
+                                        // DW_AT_declaration
+                                        // DW_AT_external
+	.byte	6                       // Abbrev [6] 0x62:0x5 DW_TAG_formal_parameter
+	.word	104                     // DW_AT_type
+	.byte	0                       // End Of Children Mark
+	.byte	7                       // Abbrev [7] 0x68:0x1 DW_TAG_pointer_type
+	.byte	2                       // Abbrev [2] 0x69:0x31 DW_TAG_subprogram
 	.xword	.Lfunc_begin1           // DW_AT_low_pc
 	.word	.Lfunc_end1-.Lfunc_begin1 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
                                         // DW_AT_GNU_all_call_sites
-	.word	.Linfo_string8          // DW_AT_name
+	.word	.Linfo_string7          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	11                      // DW_AT_decl_line
+	.byte	8                       // DW_AT_decl_line
                                         // DW_AT_external
-	.byte	8                       // Abbrev [8] 0xa4:0xe DW_TAG_variable
+	.byte	3                       // Abbrev [3] 0x7e:0xe DW_TAG_variable
 	.byte	2                       // DW_AT_location
 	.byte	145
 	.byte	124
-	.word	.Linfo_string12         // DW_AT_name
+	.word	.Linfo_string11         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	12                      // DW_AT_decl_line
-	.word	60                      // DW_AT_type
-	.byte	9                       // Abbrev [9] 0xb2:0xd DW_TAG_GNU_call_site
-	.word	42                      // DW_AT_abstract_origin
+	.byte	9                       // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	4                       // Abbrev [4] 0x8c:0xd DW_TAG_GNU_call_site
+	.word	91                      // DW_AT_abstract_origin
 	.xword	.Ltmp4                  // DW_AT_low_pc
 	.byte	0                       // End Of Children Mark
-	.byte	7                       // Abbrev [7] 0xc0:0x3f DW_TAG_subprogram
+	.byte	8                       // Abbrev [8] 0x9a:0x36 DW_TAG_subprogram
 	.xword	.Lfunc_begin2           // DW_AT_low_pc
 	.word	.Lfunc_end2-.Lfunc_begin2 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
                                         // DW_AT_GNU_all_call_sites
-	.word	.Linfo_string9          // DW_AT_name
+	.word	.Linfo_string8          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	16                      // DW_AT_decl_line
+	.byte	13                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
                                         // DW_AT_external
-	.byte	10                      // Abbrev [10] 0xd5:0xf DW_TAG_variable
+	.byte	9                       // Abbrev [9] 0xb3:0xf DW_TAG_variable
 	.word	.Ldebug_loc0            // DW_AT_location
-	.word	.Linfo_string12         // DW_AT_name
+	.word	.Linfo_string11         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	17                      // DW_AT_decl_line
-	.word	60                      // DW_AT_type
-	.byte	9                       // Abbrev [9] 0xe4:0xd DW_TAG_GNU_call_site
-	.word	42                      // DW_AT_abstract_origin
+	.byte	14                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	4                       // Abbrev [4] 0xc2:0xd DW_TAG_GNU_call_site
+	.word	91                      // DW_AT_abstract_origin
 	.xword	.Ltmp7                  // DW_AT_low_pc
-	.byte	9                       // Abbrev [9] 0xf1:0xd DW_TAG_GNU_call_site
-	.word	67                      // DW_AT_abstract_origin
-	.xword	.Ltmp9                  // DW_AT_low_pc
 	.byte	0                       // End Of Children Mark
-	.byte	7                       // Abbrev [7] 0xff:0x3f DW_TAG_subprogram
+	.byte	8                       // Abbrev [8] 0xd0:0x36 DW_TAG_subprogram
 	.xword	.Lfunc_begin3           // DW_AT_low_pc
 	.word	.Lfunc_end3-.Lfunc_begin3 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
                                         // DW_AT_GNU_all_call_sites
-	.word	.Linfo_string10         // DW_AT_name
+	.word	.Linfo_string9          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	22                      // DW_AT_decl_line
+	.byte	19                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
                                         // DW_AT_external
-	.byte	10                      // Abbrev [10] 0x114:0xf DW_TAG_variable
+	.byte	9                       // Abbrev [9] 0xe9:0xf DW_TAG_variable
 	.word	.Ldebug_loc1            // DW_AT_location
-	.word	.Linfo_string12         // DW_AT_name
+	.word	.Linfo_string11         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	23                      // DW_AT_decl_line
-	.word	60                      // DW_AT_type
-	.byte	9                       // Abbrev [9] 0x123:0xd DW_TAG_GNU_call_site
-	.word	42                      // DW_AT_abstract_origin
-	.xword	.Ltmp13                 // DW_AT_low_pc
-	.byte	9                       // Abbrev [9] 0x130:0xd DW_TAG_GNU_call_site
-	.word	67                      // DW_AT_abstract_origin
-	.xword	.Ltmp15                 // DW_AT_low_pc
+	.byte	20                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	4                       // Abbrev [4] 0xf8:0xd DW_TAG_GNU_call_site
+	.word	91                      // DW_AT_abstract_origin
+	.xword	.Ltmp12                 // DW_AT_low_pc
 	.byte	0                       // End Of Children Mark
-	.byte	7                       // Abbrev [7] 0x13e:0x3f DW_TAG_subprogram
+	.byte	10                      // Abbrev [10] 0x106:0x45 DW_TAG_subprogram
 	.xword	.Lfunc_begin4           // DW_AT_low_pc
 	.word	.Lfunc_end4-.Lfunc_begin4 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
                                         // DW_AT_GNU_all_call_sites
-	.word	.Linfo_string11         // DW_AT_name
+	.word	.Linfo_string10         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	28                      // DW_AT_decl_line
+	.byte	25                      // DW_AT_decl_line
+                                        // DW_AT_prototyped
+	.word	344                     // DW_AT_type
                                         // DW_AT_external
-	.byte	10                      // Abbrev [10] 0x153:0xf DW_TAG_variable
+	.byte	11                      // Abbrev [11] 0x11f:0xf DW_TAG_formal_parameter
 	.word	.Ldebug_loc2            // DW_AT_location
 	.word	.Linfo_string12         // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	29                      // DW_AT_decl_line
-	.word	60                      // DW_AT_type
-	.byte	9                       // Abbrev [9] 0x162:0xd DW_TAG_GNU_call_site
-	.word	80                      // DW_AT_abstract_origin
-	.xword	.Ltmp18                 // DW_AT_low_pc
-	.byte	9                       // Abbrev [9] 0x16f:0xd DW_TAG_GNU_call_site
-	.word	67                      // DW_AT_abstract_origin
-	.xword	.Ltmp20                 // DW_AT_low_pc
+	.byte	25                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	9                       // Abbrev [9] 0x12e:0xf DW_TAG_variable
+	.word	.Ldebug_loc3            // DW_AT_location
+	.word	.Linfo_string11         // DW_AT_name
+	.byte	1                       // DW_AT_decl_file
+	.byte	26                      // DW_AT_decl_line
+	.word	344                     // DW_AT_type
+	.byte	4                       // Abbrev [4] 0x13d:0xd DW_TAG_GNU_call_site
+	.word	331                     // DW_AT_abstract_origin
+	.xword	.Ltmp17                 // DW_AT_low_pc
+	.byte	0                       // End Of Children Mark
+	.byte	5                       // Abbrev [5] 0x14b:0xd DW_TAG_subprogram
+	.word	.Linfo_string4          // DW_AT_name
+	.byte	1                       // DW_AT_decl_file
+	.byte	2                       // DW_AT_decl_line
+                                        // DW_AT_prototyped
+                                        // DW_AT_declaration
+                                        // DW_AT_external
+	.byte	6                       // Abbrev [6] 0x152:0x5 DW_TAG_formal_parameter
+	.word	344                     // DW_AT_type
 	.byte	0                       // End Of Children Mark
+	.byte	12                      // Abbrev [12] 0x158:0x7 DW_TAG_base_type
+	.word	.Linfo_string5          // DW_AT_name
+	.byte	5                       // DW_AT_encoding
+	.byte	4                       // DW_AT_byte_size
 	.byte	0                       // End Of Children Mark
 .Ldebug_info_end0:
-	.ident	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 5d25e153457e7bdd4181ab7496402a565a5b9370)"
+	.ident	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 092ef9c6cf4678d2b8df7738110ecd405fe1fe3d)"
 	.section	".note.GNU-stack","", at progbits
 	.section	.debug_line,"", at progbits
 .Lline_table_start0:

diff  --git a/llvm/test/tools/llvm-symbolizer/frame-specification.s b/llvm/test/tools/llvm-symbolizer/frame-specification.s
index cd294e7ce7d6..2700b6dc4781 100644
--- a/llvm/test/tools/llvm-symbolizer/frame-specification.s
+++ b/llvm/test/tools/llvm-symbolizer/frame-specification.s
@@ -3,27 +3,32 @@
 // RUN: llvm-mc -filetype=obj -triple=aarch64-linux-android -o %t.o %s
 // RUN: echo 'FRAME %t.o 4' | llvm-symbolizer | FileCheck %s
 
-// CHECK:      f
-// CHECK-NEXT: this
-// CHECK-NEXT: ??:0
-// CHECK-NEXT: ?? 8 ??
-// CHECK-NEXT: f
-// CHECK-NEXT: x
-// CHECK-NEXT: {{.*}}dbg.cc:8
+// Built from the following source with
+// clang -target aarch64-linux-android -O3 -g -S
+//
+// class A {
+//   static void f();
+// };
+//
+// void use(int*);
+// void A::f() {int x; use(&x);}
+
+// CHECK:      {{^f$}}
+// CHECK-NEXT: {{^x$}}
+// CHECK-NEXT: /tmp/dbg.cc:6
 // CHECK-NEXT: -4 4 ??
 
 	.text
 	.file	"dbg.cc"
-	.file	1 "/tmp" "dbg.cc"
 	.globl	_ZN1A1fEv               // -- Begin function _ZN1A1fEv
 	.p2align	2
 	.type	_ZN1A1fEv, at function
 _ZN1A1fEv:                              // @_ZN1A1fEv
 .Lfunc_begin0:
-	.loc	1 7 0                   // /tmp/dbg.cc:7:0
+	.file	1 "/tmp" "dbg.cc"
+	.loc	1 6 0                   // /tmp/dbg.cc:6:0
 	.cfi_startproc
 // %bb.0:                               // %entry
-	//DEBUG_VALUE: f:this <- $x0
 	sub	sp, sp, #32             // =32
 	stp	x29, x30, [sp, #16]     // 16-byte Folded Spill
 	add	x29, sp, #16            // =16
@@ -32,51 +37,40 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.cfi_offset w29, -16
 .Ltmp0:
 	//DEBUG_VALUE: f:x <- [DW_OP_constu 4, DW_OP_minus, DW_OP_deref] $fp
-	.loc	1 9 3 prologue_end      // /tmp/dbg.cc:9:3
+	.loc	1 6 21 prologue_end     // /tmp/dbg.cc:6:21
 	sub	x0, x29, #4             // =4
-.Ltmp1:
 	bl	_Z3usePi
-.Ltmp2:
-	.loc	1 10 1                  // /tmp/dbg.cc:10:1
+.Ltmp1:
+	.loc	1 6 29 is_stmt 0        // /tmp/dbg.cc:6:29
 	ldp	x29, x30, [sp, #16]     // 16-byte Folded Reload
 	add	sp, sp, #32             // =32
 	ret
-.Ltmp3:
+.Ltmp2:
 .Lfunc_end0:
 	.size	_ZN1A1fEv, .Lfunc_end0-_ZN1A1fEv
 	.cfi_endproc
                                         // -- End function
 	.section	.debug_str,"MS", at progbits,1
 .Linfo_string0:
-	.asciz	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 5d25e153457e7bdd4181ab7496402a565a5b9370)" // string offset=0
+	.asciz	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 092ef9c6cf4678d2b8df7738110ecd405fe1fe3d)" // string offset=0
 .Linfo_string1:
 	.asciz	"/tmp/dbg.cc"           // string offset=101
 .Linfo_string2:
 	.asciz	"/code/build-llvm-cmake" // string offset=113
 .Linfo_string3:
-	.asciz	"_Z3usePi"              // string offset=136
+	.asciz	"_ZN1A1fEv"             // string offset=136
 .Linfo_string4:
-	.asciz	"use"                   // string offset=145
+	.asciz	"f"                     // string offset=146
 .Linfo_string5:
-	.asciz	"int"                   // string offset=149
+	.asciz	"A"                     // string offset=148
 .Linfo_string6:
-	.asciz	"_ZN1A1fEv"             // string offset=153
+	.asciz	"_Z3usePi"              // string offset=150
 .Linfo_string7:
-	.asciz	"f"                     // string offset=163
+	.asciz	"use"                   // string offset=159
 .Linfo_string8:
-	.asciz	"A"                     // string offset=165
+	.asciz	"int"                   // string offset=163
 .Linfo_string9:
-	.asciz	"this"                  // string offset=167
-.Linfo_string10:
-	.asciz	"x"                     // string offset=172
-	.section	.debug_loc,"", at progbits
-.Ldebug_loc0:
-	.xword	.Lfunc_begin0-.Lfunc_begin0
-	.xword	.Ltmp1-.Lfunc_begin0
-	.hword	1                       // Loc expr size
-	.byte	80                      // DW_OP_reg0
-	.xword	0
-	.xword	0
+	.asciz	"x"                     // string offset=167
 	.section	.debug_abbrev,"", at progbits
 	.byte	1                       // Abbreviation Code
 	.byte	17                      // DW_TAG_compile_unit
@@ -98,72 +92,38 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	2                       // Abbreviation Code
-	.byte	46                      // DW_TAG_subprogram
+	.byte	2                       // DW_TAG_class_type
 	.byte	1                       // DW_CHILDREN_yes
-	.byte	110                     // DW_AT_linkage_name
-	.byte	14                      // DW_FORM_strp
+	.byte	54                      // DW_AT_calling_convention
+	.byte	11                      // DW_FORM_data1
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
+	.byte	11                      // DW_AT_byte_size
+	.byte	11                      // DW_FORM_data1
 	.byte	58                      // DW_AT_decl_file
 	.byte	11                      // DW_FORM_data1
 	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
-	.byte	60                      // DW_AT_declaration
-	.byte	25                      // DW_FORM_flag_present
-	.byte	63                      // DW_AT_external
-	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	3                       // Abbreviation Code
-	.byte	5                       // DW_TAG_formal_parameter
-	.byte	0                       // DW_CHILDREN_no
-	.byte	73                      // DW_AT_type
-	.byte	19                      // DW_FORM_ref4
-	.byte	0                       // EOM(1)
-	.byte	0                       // EOM(2)
-	.byte	4                       // Abbreviation Code
-	.byte	15                      // DW_TAG_pointer_type
-	.byte	0                       // DW_CHILDREN_no
-	.byte	73                      // DW_AT_type
-	.byte	19                      // DW_FORM_ref4
-	.byte	0                       // EOM(1)
-	.byte	0                       // EOM(2)
-	.byte	5                       // Abbreviation Code
-	.byte	36                      // DW_TAG_base_type
+	.byte	46                      // DW_TAG_subprogram
 	.byte	0                       // DW_CHILDREN_no
-	.byte	3                       // DW_AT_name
+	.byte	110                     // DW_AT_linkage_name
 	.byte	14                      // DW_FORM_strp
-	.byte	62                      // DW_AT_encoding
-	.byte	11                      // DW_FORM_data1
-	.byte	11                      // DW_AT_byte_size
-	.byte	11                      // DW_FORM_data1
-	.byte	0                       // EOM(1)
-	.byte	0                       // EOM(2)
-	.byte	6                       // Abbreviation Code
-	.byte	2                       // DW_TAG_class_type
-	.byte	1                       // DW_CHILDREN_yes
-	.byte	54                      // DW_AT_calling_convention
-	.byte	11                      // DW_FORM_data1
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
-	.byte	11                      // DW_AT_byte_size
-	.byte	11                      // DW_FORM_data1
 	.byte	58                      // DW_AT_decl_file
 	.byte	11                      // DW_FORM_data1
 	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
-	.byte	0                       // EOM(1)
-	.byte	0                       // EOM(2)
-	.byte	7                       // Abbreviation Code
-	.byte	5                       // DW_TAG_formal_parameter
-	.byte	0                       // DW_CHILDREN_no
-	.byte	73                      // DW_AT_type
-	.byte	19                      // DW_FORM_ref4
-	.byte	52                      // DW_AT_artificial
+	.byte	60                      // DW_AT_declaration
+	.byte	25                      // DW_FORM_flag_present
+	.byte	63                      // DW_AT_external
 	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	8                       // Abbreviation Code
+	.byte	4                       // Abbreviation Code
 	.byte	46                      // DW_TAG_subprogram
 	.byte	1                       // DW_CHILDREN_yes
 	.byte	17                      // DW_AT_low_pc
@@ -172,8 +132,6 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.byte	6                       // DW_FORM_data4
 	.byte	64                      // DW_AT_frame_base
 	.byte	24                      // DW_FORM_exprloc
-	.byte	100                     // DW_AT_object_pointer
-	.byte	19                      // DW_FORM_ref4
 	.ascii	"\227B"                 // DW_AT_GNU_all_call_sites
 	.byte	25                      // DW_FORM_flag_present
 	.byte	59                      // DW_AT_decl_line
@@ -182,41 +140,70 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	9                       // Abbreviation Code
-	.byte	5                       // DW_TAG_formal_parameter
+	.byte	5                       // Abbreviation Code
+	.byte	52                      // DW_TAG_variable
 	.byte	0                       // DW_CHILDREN_no
 	.byte	2                       // DW_AT_location
-	.byte	23                      // DW_FORM_sec_offset
+	.byte	24                      // DW_FORM_exprloc
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
+	.byte	58                      // DW_AT_decl_file
+	.byte	11                      // DW_FORM_data1
+	.byte	59                      // DW_AT_decl_line
+	.byte	11                      // DW_FORM_data1
 	.byte	73                      // DW_AT_type
 	.byte	19                      // DW_FORM_ref4
-	.byte	52                      // DW_AT_artificial
-	.byte	25                      // DW_FORM_flag_present
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	10                      // Abbreviation Code
-	.byte	52                      // DW_TAG_variable
+	.byte	6                       // Abbreviation Code
+	.ascii	"\211\202\001"          // DW_TAG_GNU_call_site
 	.byte	0                       // DW_CHILDREN_no
-	.byte	2                       // DW_AT_location
-	.byte	24                      // DW_FORM_exprloc
+	.byte	49                      // DW_AT_abstract_origin
+	.byte	19                      // DW_FORM_ref4
+	.byte	17                      // DW_AT_low_pc
+	.byte	1                       // DW_FORM_addr
+	.byte	0                       // EOM(1)
+	.byte	0                       // EOM(2)
+	.byte	7                       // Abbreviation Code
+	.byte	46                      // DW_TAG_subprogram
+	.byte	1                       // DW_CHILDREN_yes
+	.byte	110                     // DW_AT_linkage_name
+	.byte	14                      // DW_FORM_strp
 	.byte	3                       // DW_AT_name
 	.byte	14                      // DW_FORM_strp
 	.byte	58                      // DW_AT_decl_file
 	.byte	11                      // DW_FORM_data1
 	.byte	59                      // DW_AT_decl_line
 	.byte	11                      // DW_FORM_data1
+	.byte	60                      // DW_AT_declaration
+	.byte	25                      // DW_FORM_flag_present
+	.byte	63                      // DW_AT_external
+	.byte	25                      // DW_FORM_flag_present
+	.byte	0                       // EOM(1)
+	.byte	0                       // EOM(2)
+	.byte	8                       // Abbreviation Code
+	.byte	5                       // DW_TAG_formal_parameter
+	.byte	0                       // DW_CHILDREN_no
 	.byte	73                      // DW_AT_type
 	.byte	19                      // DW_FORM_ref4
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
-	.byte	11                      // Abbreviation Code
-	.ascii	"\211\202\001"          // DW_TAG_GNU_call_site
+	.byte	9                       // Abbreviation Code
+	.byte	15                      // DW_TAG_pointer_type
 	.byte	0                       // DW_CHILDREN_no
-	.byte	49                      // DW_AT_abstract_origin
+	.byte	73                      // DW_AT_type
 	.byte	19                      // DW_FORM_ref4
-	.byte	17                      // DW_AT_low_pc
-	.byte	1                       // DW_FORM_addr
+	.byte	0                       // EOM(1)
+	.byte	0                       // EOM(2)
+	.byte	10                      // Abbreviation Code
+	.byte	36                      // DW_TAG_base_type
+	.byte	0                       // DW_CHILDREN_no
+	.byte	3                       // DW_AT_name
+	.byte	14                      // DW_FORM_strp
+	.byte	62                      // DW_AT_encoding
+	.byte	11                      // DW_FORM_data1
+	.byte	11                      // DW_AT_byte_size
+	.byte	11                      // DW_FORM_data1
 	.byte	0                       // EOM(1)
 	.byte	0                       // EOM(2)
 	.byte	0                       // EOM(3)
@@ -227,7 +214,7 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.hword	4                       // DWARF version number
 	.word	.debug_abbrev           // Offset Into Abbrev. Section
 	.byte	8                       // Address Size (in bytes)
-	.byte	1                       // Abbrev [1] 0xb:0xa3 DW_TAG_compile_unit
+	.byte	1                       // Abbrev [1] 0xb:0x82 DW_TAG_compile_unit
 	.word	.Linfo_string0          // DW_AT_producer
 	.hword	33                      // DW_AT_language
 	.word	.Linfo_string1          // DW_AT_name
@@ -235,73 +222,59 @@ _ZN1A1fEv:                              // @_ZN1A1fEv
 	.word	.Linfo_string2          // DW_AT_comp_dir
 	.xword	.Lfunc_begin0           // DW_AT_low_pc
 	.word	.Lfunc_end0-.Lfunc_begin0 // DW_AT_high_pc
-	.byte	2                       // Abbrev [2] 0x2a:0x11 DW_TAG_subprogram
-	.word	.Linfo_string3          // DW_AT_linkage_name
-	.word	.Linfo_string4          // DW_AT_name
-	.byte	1                       // DW_AT_decl_file
-	.byte	1                       // DW_AT_decl_line
-                                        // DW_AT_declaration
-                                        // DW_AT_external
-	.byte	3                       // Abbrev [3] 0x35:0x5 DW_TAG_formal_parameter
-	.word	59                      // DW_AT_type
-	.byte	0                       // End Of Children Mark
-	.byte	4                       // Abbrev [4] 0x3b:0x5 DW_TAG_pointer_type
-	.word	64                      // DW_AT_type
-	.byte	5                       // Abbrev [5] 0x40:0x7 DW_TAG_base_type
-	.word	.Linfo_string5          // DW_AT_name
-	.byte	5                       // DW_AT_encoding
-	.byte	4                       // DW_AT_byte_size
-	.byte	6                       // Abbrev [6] 0x47:0x1b DW_TAG_class_type
+	.byte	2                       // Abbrev [2] 0x2a:0x15 DW_TAG_class_type
 	.byte	5                       // DW_AT_calling_convention
-	.word	.Linfo_string8          // DW_AT_name
+	.word	.Linfo_string5          // DW_AT_name
 	.byte	1                       // DW_AT_byte_size
 	.byte	1                       // DW_AT_decl_file
-	.byte	3                       // DW_AT_decl_line
-	.byte	2                       // Abbrev [2] 0x50:0x11 DW_TAG_subprogram
-	.word	.Linfo_string6          // DW_AT_linkage_name
-	.word	.Linfo_string7          // DW_AT_name
+	.byte	1                       // DW_AT_decl_line
+	.byte	3                       // Abbrev [3] 0x33:0xb DW_TAG_subprogram
+	.word	.Linfo_string3          // DW_AT_linkage_name
+	.word	.Linfo_string4          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	4                       // DW_AT_decl_line
+	.byte	2                       // DW_AT_decl_line
                                         // DW_AT_declaration
                                         // DW_AT_external
-	.byte	7                       // Abbrev [7] 0x5b:0x5 DW_TAG_formal_parameter
-	.word	98                      // DW_AT_type
-                                        // DW_AT_artificial
-	.byte	0                       // End Of Children Mark
 	.byte	0                       // End Of Children Mark
-	.byte	4                       // Abbrev [4] 0x62:0x5 DW_TAG_pointer_type
-	.word	71                      // DW_AT_type
-	.byte	8                       // Abbrev [8] 0x67:0x41 DW_TAG_subprogram
+	.byte	4                       // Abbrev [4] 0x3f:0x30 DW_TAG_subprogram
 	.xword	.Lfunc_begin0           // DW_AT_low_pc
 	.word	.Lfunc_end0-.Lfunc_begin0 // DW_AT_high_pc
 	.byte	1                       // DW_AT_frame_base
 	.byte	109
-	.word	127                     // DW_AT_object_pointer
                                         // DW_AT_GNU_all_call_sites
-	.byte	7                       // DW_AT_decl_line
-	.word	80                      // DW_AT_specification
-	.byte	9                       // Abbrev [9] 0x7f:0xd DW_TAG_formal_parameter
-	.word	.Ldebug_loc0            // DW_AT_location
-	.word	.Linfo_string9          // DW_AT_name
-	.word	168                     // DW_AT_type
-                                        // DW_AT_artificial
-	.byte	10                      // Abbrev [10] 0x8c:0xe DW_TAG_variable
+	.byte	6                       // DW_AT_decl_line
+	.word	51                      // DW_AT_specification
+	.byte	5                       // Abbrev [5] 0x53:0xe DW_TAG_variable
 	.byte	2                       // DW_AT_location
 	.byte	145
 	.byte	124
-	.word	.Linfo_string10         // DW_AT_name
+	.word	.Linfo_string9          // DW_AT_name
 	.byte	1                       // DW_AT_decl_file
-	.byte	8                       // DW_AT_decl_line
-	.word	64                      // DW_AT_type
-	.byte	11                      // Abbrev [11] 0x9a:0xd DW_TAG_GNU_call_site
-	.word	42                      // DW_AT_abstract_origin
-	.xword	.Ltmp2                  // DW_AT_low_pc
+	.byte	6                       // DW_AT_decl_line
+	.word	133                     // DW_AT_type
+	.byte	6                       // Abbrev [6] 0x61:0xd DW_TAG_GNU_call_site
+	.word	111                     // DW_AT_abstract_origin
+	.xword	.Ltmp1                  // DW_AT_low_pc
 	.byte	0                       // End Of Children Mark
-	.byte	4                       // Abbrev [4] 0xa8:0x5 DW_TAG_pointer_type
-	.word	71                      // DW_AT_type
+	.byte	7                       // Abbrev [7] 0x6f:0x11 DW_TAG_subprogram
+	.word	.Linfo_string6          // DW_AT_linkage_name
+	.word	.Linfo_string7          // DW_AT_name
+	.byte	1                       // DW_AT_decl_file
+	.byte	5                       // DW_AT_decl_line
+                                        // DW_AT_declaration
+                                        // DW_AT_external
+	.byte	8                       // Abbrev [8] 0x7a:0x5 DW_TAG_formal_parameter
+	.word	128                     // DW_AT_type
+	.byte	0                       // End Of Children Mark
+	.byte	9                       // Abbrev [9] 0x80:0x5 DW_TAG_pointer_type
+	.word	133                     // DW_AT_type
+	.byte	10                      // Abbrev [10] 0x85:0x7 DW_TAG_base_type
+	.word	.Linfo_string8          // DW_AT_name
+	.byte	5                       // DW_AT_encoding
+	.byte	4                       // DW_AT_byte_size
 	.byte	0                       // End Of Children Mark
 .Ldebug_info_end0:
-	.ident	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 5d25e153457e7bdd4181ab7496402a565a5b9370)"
+	.ident	"clang version 10.0.0 (git at github.com:llvm/llvm-project.git 092ef9c6cf4678d2b8df7738110ecd405fe1fe3d)"
 	.section	".note.GNU-stack","", at progbits
 	.section	.debug_line,"", at progbits
 .Lline_table_start0:


        


More information about the llvm-commits mailing list