Skip to content

Commit d282953

Browse files
committed
Remove hashes in Valgrind suppressions
Apparently, the hashes in the mangled function names are different in each build of Rust (e.g. Rust 1.86.0-beta.5 and 1.86.0-beta.7 produce different ones, 1.86.0 (stable) has different ones again). Therefore the hashes get replaced with a wildcard in this commit. This makes the suppressions applicable for all Rust 1.86 betas as well as 1.86.0 itself.
1 parent bf02a9e commit d282953

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

suppressions/rust-1.83

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
fun:do_call<std::rt::lang_start_internal::{closure_env#0}, ()>
1717
fun:try<(), std::rt::lang_start_internal::{closure_env#0}>
1818
fun:catch_unwind<std::rt::lang_start_internal::{closure_env#0}, ()>
19-
fun:_ZN3std2rt19lang_start_internal17h1c66660c99c8424cE
20-
fun:_ZN3std2rt10lang_start17h6a655fabb2038567E
19+
fun:_ZN3std2rt19lang_start_internal*
20+
fun:_ZN3std2rt10lang_start*
2121
fun:main
2222
}

suppressions/rust-1.86

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
fun:{closure#0}<std::thread::Inner>
1010
fun:allocate_for_layout<core::mem::maybe_uninit::MaybeUninit<std::thread::Inner>, alloc::sync::{impl#14}::new_uninit::{closure_env#0}<std::thread::Inner>, fn(*mut u8) -> *mut alloc::sync::ArcInner<core::mem::maybe_uninit::MaybeUninit<std::thread::Inner>>>
1111
fun:new_uninit<std::thread::Inner>
12-
fun:_ZN3std6thread6Thread3new17hfefd1c7ad06cf00aE
13-
fun:_ZN3std6thread7current12init_current17h3c2a16458c19e8ecE
12+
fun:_ZN3std6thread6Thread3new*
13+
fun:_ZN3std6thread7current12init_current*
1414
fun:current_or_unnamed
1515
}

0 commit comments

Comments
 (0)