/usr/bin/perl6-valgrind-m is in rakudo 2018.03-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
/usr/bin/moar --execname="$0" --libpath="/usr/lib/nqp/lib" --libpath="/usr/lib/perl6/lib" --libpath="/usr/lib/perl6/runtime" /usr/lib/perl6/runtime/perl6.moarvm -e '
say "=" x 96;
say qq:to/END/;
This is Rakudo Perl 6 running in valgrind, a tool for debugging and profiling programs.
Running a program in valgrind usually takes *a lot* more time than running it directly,
so please be patient.
Valgrind options can be added with MVM_VALGRIND_OPTS environment variable.
END
say "This Rakudo version is $*PERL.compiler.version() built on MoarVM version $*VM.version(),";
say "running on $*DISTRO.gist() / $*KERNEL.gist()";
say "-" x 96;'
valgrind ${MVM_VALGRIND_OPTS} /usr/bin/moar --execname="$0" --libpath="/usr/lib/nqp/lib" --libpath="/usr/lib/perl6/lib" --libpath="/usr/lib/perl6/runtime" /usr/lib/perl6/runtime/perl6.moarvm "$@"
|