Add missing outer argument when self-hosting valgrind.

The outer valgrind tries to run libc and libcxx free res functions
in the guest (which in case of self-hosting is a valgrind tool).
And that fails.

So, disable running such free res functions.
This commit is contained in:
Philippe Waroquiers 2019-04-18 20:40:37 +02:00
parent b4403d38c7
commit da00accdd7
2 changed files with 4 additions and 2 deletions

View File

@ -335,7 +335,8 @@ sub do_one_test($$)
if ((not defined $outer_args) || ($outer_args =~ /^\+/)) {
$run_outer_args =
" -v --command-line-only=yes"
. " --run-libc-freeres=no --sim-hints=enable-outer"
. " --sim-hints=enable-outer"
. " --run-libc-freeres=no --run-cxx-freeres=no"
. " --smc-check=all-non-file"
. " --vgdb=no --trace-children=yes --read-var-info=no"
. " --suppressions=../tests/outer_inner.supp"

View File

@ -261,7 +261,8 @@ sub process_command_line()
if ((not defined $outer_args) || ($outer_args =~ /^\+/)) {
$run_outer_args =
" --command-line-only=yes"
. " --run-libc-freeres=no --sim-hints=enable-outer"
. " --sim-hints=enable-outer"
. " --run-libc-freeres=no --run-cxx-freeres=no"
. " --smc-check=all-non-file"
. " --vgdb=no --trace-children=yes --read-var-info=no"
. " --read-inline-info=yes"