Mark helper regs defined in final_tidyup before freeres_wrapper call.
commitbe7a73004583aab5d4c97cf55276ca58d5b3090b
authorMark Wielaard <mark@klomp.org>
Wed, 12 Dec 2018 13:15:28 +0000 (12 14:15 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 12 Dec 2018 13:15:28 +0000 (12 14:15 +0100)
treea3c7ff2d7801b5273a9b124db903ac53543547a6
parent46fb3eb81ceadf808a3bf1d6dd4ae079a4f44256
Mark helper regs defined in final_tidyup before freeres_wrapper call.

In final_tidyup we setup the guest to call the freeres_wrapper, which
will (possibly) call __gnu_cxx::__freeres() and/or __libc_freeres().

In a couple of cases (ppc64be, ppc64le and mips32) this involves setting
up one or more helper registers. Since we setup these guest registers
we should make sure to mark them as fully defined. Otherwise we might
see spurious warnings about undefined value usage if the guest register
happened to not be fully defined before.

This fixes PR402006.
NEWS
coregrind/m_main.c