Skip to content

Commit 7f125b3

Browse files
committed
Update snapshots after merge
1 parent e609b43 commit 7f125b3

10 files changed

+1296
-290
lines changed

src/codegen/tests/debug_tests.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ fn dbg_declare_has_valid_metadata_references_for_methods() {
349349
",
350350
);
351351

352-
assert_snapshot!(codegen, @r#"
352+
assert_snapshot!(codegen, @r###"
353353
; ModuleID = '<internal>'
354354
source_filename = "<internal>"
355355
@@ -399,9 +399,17 @@ fn dbg_declare_has_valid_metadata_references_for_methods() {
399399
ret void
400400
}
401401
402+
define void @__user_init___vtable_fb_type(%__vtable_fb_type* %0) {
403+
entry:
404+
%self = alloca %__vtable_fb_type*, align 8
405+
store %__vtable_fb_type* %0, %__vtable_fb_type** %self, align 8
406+
ret void
407+
}
408+
402409
define void @__init___Test() {
403410
entry:
404411
call void @__init___vtable_fb_type(%__vtable_fb_type* @__vtable_fb)
412+
call void @__user_init___vtable_fb_type(%__vtable_fb_type* @__vtable_fb)
405413
ret void
406414
}
407415
@@ -438,7 +446,7 @@ fn dbg_declare_has_valid_metadata_references_for_methods() {
438446
!25 = distinct !DISubprogram(name: "fb.foo", linkageName: "fb.foo", scope: !19, file: !2, line: 3, type: !20, scopeLine: 4, flags: DIFlagPublic, spFlags: DISPFlagDefinition, unit: !17, retainedNodes: !22)
439447
!26 = !DILocalVariable(name: "fb", scope: !25, file: !2, line: 4, type: !3)
440448
!27 = !DILocation(line: 4, column: 8, scope: !25)
441-
"#);
449+
"###);
442450
}
443451

444452
#[test]

0 commit comments

Comments
 (0)