ftmemsim-valgrind/memcheck/tests/demangle.stderr.exp
Paul Floyd c09706352a Make memcheck tests demangle and demangle-rust clang-friendly.
Clang uses CMOV for ternary operators which does not immediately
trigger an error. Using double free and new/free mismatch still
poses no problem with clang but still uses the demangling.

Also update .gitignore
2021-11-12 23:44:54 +01:00

10 lines
447 B
Plaintext

Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: abc::def<int, magic<int> >::xyzzy(int*, magic<int>*) (demangle.cpp:10)
by 0x........: magic<int>::xyzzy(int*) (demangle.cpp:21)
by 0x........: main (demangle.cpp:29)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (demangle.cpp:29)