; Check struct X for dead variable xyz from inlined function foo.
; CHECK: DW_TAG_structure_type
; Check struct X for dead variable xyz from inlined function foo.
; CHECK: DW_TAG_structure_type
-; CHECK-NEXT: DW_AT_sibling
; test that the DW_AT_specification is a back edge in the file.
; test that the DW_AT_specification is a back edge in the file.
-; CHECK: 0x0000003c: DW_TAG_subprogram [5] *
-; CHECK: 0x00000064: DW_AT_specification [DW_FORM_ref4] (cu + 0x003c => {0x0000003c})
+; CHECK: 0x00000038: DW_TAG_subprogram [5] *
+; CHECK: 0x00000060: DW_AT_specification [DW_FORM_ref4] (cu + 0x0038 => {0x00000038})
@_ZZN3foo3barEvE1x = constant i32 0, align 4
@_ZZN3foo3barEvE1x = constant i32 0, align 4
; first check that we have a TAG_subprogram at a given offset and it has
; AT_inline.
; first check that we have a TAG_subprogram at a given offset and it has
; AT_inline.
-; CHECK: 0x0000014a: DW_TAG_subprogram
-; CHECK-NEXT: DW_AT_sibling
+; CHECK: 0x00000136: DW_TAG_subprogram
; CHECK-NEXT: DW_AT_MIPS_linkage_name
; CHECK-NEXT: DW_AT_specification
; CHECK-NEXT: DW_AT_inline
; CHECK-NEXT: DW_AT_MIPS_linkage_name
; CHECK-NEXT: DW_AT_specification
; CHECK-NEXT: DW_AT_inline
; and then that a TAG_subprogram refers to it with AT_abstract_origin.
; and then that a TAG_subprogram refers to it with AT_abstract_origin.
-; CHECK: 0x000001a6: DW_TAG_subprogram
-; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x014a => {0x0000014a})
+; CHECK: 0x00000186: DW_TAG_subprogram
+; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x0136 => {0x00000136})
define i32 @_ZN17nsAutoRefCnt7ReleaseEv() {
entry:
define i32 @_ZN17nsAutoRefCnt7ReleaseEv() {
entry:
; test that the DW_AT_specification is a back edge in the file.
; test that the DW_AT_specification is a back edge in the file.
-; CHECK: 0x00000063: DW_TAG_subprogram [5]
-; CHECK: 0x00000089: DW_AT_specification [DW_FORM_ref4] (cu + 0x0063 => {0x00000063})
+; CHECK: 0x0000005b: DW_TAG_subprogram [5]
+; CHECK: 0x0000007d: DW_AT_specification [DW_FORM_ref4] (cu + 0x005b => {0x0000005b})
%struct.foo = type { i8 }
%struct.foo = type { i8 }