mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
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:
parent
b4403d38c7
commit
da00accdd7
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user