diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/dbg-baseptr.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/dbg-baseptr.ll | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/X86/dbg-baseptr.ll b/llvm/test/CodeGen/X86/dbg-baseptr.ll index 893ca93a994..5dd1056b44e 100644 --- a/llvm/test/CodeGen/X86/dbg-baseptr.ll +++ b/llvm/test/CodeGen/X86/dbg-baseptr.ll @@ -22,12 +22,10 @@ define i32 @f0(%struct.s* byval align 8 %input) !dbg !8 { ; DWARF-LABEL: .debug_info contents: ; DWARF-LABEL: DW_TAG_subprogram -; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (<0x1> 57 ) -; 0x57 -> RSP +; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (DW_OP_reg7 RSP) ; DWARF: DW_AT_name [DW_FORM_strp] ( {{.*}}"f0") ; DWARF: DW_TAG_formal_parameter -; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (<0x2> 91 08 ) -; DW_OP_fbreg (0x91) 0x08 +; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (DW_OP_fbreg +8) ; DWARF-NEXT: DW_AT_name [DW_FORM_strp] ( {{.*}}"input") @@ -48,12 +46,10 @@ define i32 @f1(%struct.s* byval align 8 %input) !dbg !19 { } ; DWARF-LABEL: DW_TAG_subprogram -; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (<0x1> 56 ) -; 0x56 -> RBP +; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (DW_OP_reg6 RBP) ; DWARF: DW_AT_name [DW_FORM_strp] ( {{.*}}"f1") ; DWARF: DW_TAG_formal_parameter -; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (<0x2> 91 10 ) -; DW_OP_fbreg (0x91) 0x10 +; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (DW_OP_fbreg +16) ; DWARF-NEXT: DW_AT_name [DW_FORM_strp] ( {{.*}}"input") ; CHECK-LABEL: f2: @@ -75,12 +71,10 @@ define i32 @f2(%struct.s* byval align 8 %input) !dbg !22 { ; "input" should still be referred to through RBP. ; DWARF-LABEL: DW_TAG_subprogram -; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (<0x1> 56 ) -; 0x56 -> RBP +; DWARF: DW_AT_frame_base [DW_FORM_exprloc] (DW_OP_reg6 RBP) ; DWARF: DW_AT_name [DW_FORM_strp] ( {{.*}}"f2") ; DWARF: DW_TAG_formal_parameter -; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (<0x2> 91 10 ) -; DW_OP_fbreg (0x91) 0x10 +; DWARF-NEXT: DW_AT_location [DW_FORM_exprloc] (DW_OP_fbreg +16) ; DWARF-NEXT: DW_AT_name [DW_FORM_strp] ( {{.*}}"input") declare void @llvm.dbg.declare(metadata, metadata, metadata) |

