Re: [Valgrind-users] Suppression not working on some systems
On 03/08/16 13:31, John Spray wrote: > Ah, that makes sense, thanks. I guess we could also use creatively > wildcarded strings like *boost*detail*get_once_per_thread_epoch*? Yes, that might also work. J -- ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] Suppression not working on some systems
On Wed, Aug 3, 2016 at 12:15 PM, Julian Sewardwrote: > >> The suppression file we use is: >> https://github.com/ceph/teuthology/blob/master/teuthology/task/valgrind.supp#L303 > > That has demangled symbol names in it. They should be non-demangled, > and that's why it doesn't match. The easiest way to get the non-demangled > names is to run with --gen-suppressions=all and copy what you get from > there. Or you can play games trying to correlate the output of "nm" and > "nm | c++filt" for the binary, and try to figure out the names from that. > > You can see mangled names in other parts of the same file, for example at > https://github.com/ceph/teuthology/blob/master/teuthology/task/valgrind.supp#L142 Ah, that makes sense, thanks. I guess we could also use creatively wildcarded strings like *boost*detail*get_once_per_thread_epoch*? John -- ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users
Re: [Valgrind-users] Suppression not working on some systems
> The suppression file we use is: > https://github.com/ceph/teuthology/blob/master/teuthology/task/valgrind.supp#L303 That has demangled symbol names in it. They should be non-demangled, and that's why it doesn't match. The easiest way to get the non-demangled names is to run with --gen-suppressions=all and copy what you get from there. Or you can play games trying to correlate the output of "nm" and "nm | c++filt" for the binary, and try to figure out the names from that. You can see mangled names in other parts of the same file, for example at https://github.com/ceph/teuthology/blob/master/teuthology/task/valgrind.supp#L142 J -- ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users