about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-10 10:58:15 +0100
committerGitHub <noreply@github.com>2024-03-10 10:58:15 +0100
commite8e41877a24bcdea26528355054d7f148c1ed22c (patch)
treef8f75499a9d7ad32e6a5d0806a6ad3f9f2b5e23f
parent0f89faebb1e9189eba036e4bed500077270ca626 (diff)
parent05a6f65d81978fa9db4fec8c6a54bd894c9eb74d (diff)
downloadrust-e8e41877a24bcdea26528355054d7f148c1ed22c.tar.gz
rust-e8e41877a24bcdea26528355054d7f148c1ed22c.zip
Rollup merge of #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.
-rw-r--r--tests/codegen/debuginfo-inline-callsite-location.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/debuginfo-inline-callsite-location.rs b/tests/codegen/debuginfo-inline-callsite-location.rs
index 833e8c0df91..f690c9c0937 100644
--- a/tests/codegen/debuginfo-inline-callsite-location.rs
+++ b/tests/codegen/debuginfo-inline-callsite-location.rs
@@ -4,9 +4,9 @@
 // can correctly merge the debug info if it merges the inlined code (e.g., for merging of tail
 // calls to panic.
 
-// CHECK:       tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
+// CHECK:       tail call void @{{[A-Za-z0-9_]+4core6option13unwrap_failed}}
 // CHECK-SAME:  !dbg ![[#first_dbg:]]
-// CHECK:       tail call void @_ZN4core6option13unwrap_failed17h{{([0-9a-z]{16})}}E
+// CHECK:       tail call void @{{[A-Za-z0-9_]+4core6option13unwrap_failed}}
 // CHECK-SAME:  !dbg ![[#second_dbg:]]
 
 // CHECK-DAG:   ![[#func_dbg:]] = distinct !DISubprogram(name: "unwrap<i32>"