Wrapper functions are not being successfully called. An extract from the diff file: fn_0 ... -fn_0 wrapper pre () -fn_0 wrapper post1 = 0 -fn_0 wrapper post2 = 0 ... 0 Reproducible: Always Steps to Reproduce: 1. Apply preliminary patch set from bz#348909 2. $ ./autogen.sh 3. $ ./configure 4. $ make 5. $ make check 6. $ perl tests/vg_regtest memcheck/tests/wrap6 Actual Results: $ perl tests/vg_regtest memcheck/tests/wrap6 wrap6: valgrind -q ./wrap6 *** wrap6 failed (stdout) *** == 1 test, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/wrap6 (stdout) Expected Results: No regression test failure.
Created attachment 93162 [details] wrap6.stdout.diff
Is this specific to 10.11 ? Does it work in 10.10 ?
I believe I mis diagnosed this regression, as it is now happening reliably on OS X 10.10. Have removed this as a blocker to bz#348909, and will address on current Darwin platforms. It should be reasonably easy to trace this back to a specific commit.
I can't reproduce this on 10.10.5 (64 bit). Rhys, can you?
I am still able to reproduce this on OS X 10.10.5 (64 bit). $ perl tests/vg_regtest memcheck/tests/wrap6 wrap6: valgrind -q ./wrap6 *** wrap6 failed (stdout) *** == 1 test, 0 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/wrap6 (stdout)
When I have a moment I'll take a look. Often these are functions being inlined or optimized away.
This passes with macOS 10.13m which is the oldest that I can reasonably work on.