Skip to content
/ rust Public
forked from rust-lang/rust

Commit e511f79

Browse files
authored
Rollup merge of rust-lang#121642 - TimNN:test-v0, r=Mark-Simulacrum
Update a test to support Symbol Mangling V0 Note that since this is a symbol from `std`, overriding the symbol mangling version via the `compile-flags` directive does not work.
2 parents f334f3b + 05a6f65 commit e511f79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/codegen/debuginfo-inline-callsite-location.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// can correctly merge the debug info if it merges the inlined code (e.g., for merging of tail
55
// calls to panic.
66

7-
// CHECK: tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
7+
// CHECK: tail call void @{{[A-Za-z0-9_]+4core6option13unwrap_failed}}
88
// CHECK-SAME: !dbg ![[#first_dbg:]]
9-
// CHECK: tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
9+
// CHECK: tail call void @{{[A-Za-z0-9_]+4core6option13unwrap_failed}}
1010
// CHECK-SAME: !dbg ![[#second_dbg:]]
1111

1212
// CHECK-DAG: ![[#func_dbg:]] = distinct !DISubprogram(name: "unwrap<i32>"

0 commit comments

Comments
 (0)