]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 381274 powerpc too chatty even with --sigill-diagnostics=no.
authorMark Wielaard <mark@klomp.org>
Tue, 20 Jun 2017 17:55:13 +0000 (17:55 +0000)
committerMark Wielaard <mark@klomp.org>
Tue, 20 Jun 2017 17:55:13 +0000 (17:55 +0000)
commitcfae6fb69d8c8dc4125dcad33fbddcc27ca7fc11
tree66d318f889e6fa14be572d695929546873f4ee9d
parentbed4f39768ece10929769948674ebaefaee0844e
Bug 381274 powerpc too chatty even with --sigill-diagnostics=no.

Even with valgrind --sigill-diagnostics=no (or -q) guest_ppc_toIR.c
will report various cases why it didn't handle an instruction. e.g.

  disInstr(ppc): found the Power 8 instruction 0x10000508 that can't be
  handled by Valgrind on this host.  This instruction requires a host
  that supports Power 8 instructions.

After which valgrind will generate a SIGILL. But in case the user uses
-q or --sigill-diagnostics=no they aren't interested in that diagnostics.
For example openssl will try some power 8 instructions while initializing
and catch the SIGILL if not supported without issue.

Guard those cases with if (sigill_diag) like the generic decode_failure.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3398
VEX/priv/guest_ppc_toIR.c