代码拉取完成,页面将自动刷新
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2022-2023 UnionTech Software Technology Co.,Ltd.
# Requires: valgrind.
# Test script for running the interpreter in release mode using valgrind.
# The default tool is callgrind.
: "${CONF:="release"}"
: "${OUTPUT:="build/.$CONF/callgrind.out"}"
: "${LOGOPT:="--log-file=build/.$CONF/callgrind.log"}"
: "${TOOLOPT:="--tool=callgrind --callgrind-out-file=$OUTPUT --dump-instr=yes \
--collect-jumps=yes"}"
: "${UNILANG:="build/.$CONF/unilang.exe"}"
echo 'Ready to run the command for Unilang interpreter "'"$UNILANG"'".'
echo "Using valgrind options: '$LOGOPT $TOOLOPT'."
echo "Using interpreter options: '$*'."
# XXX: Value of several variables may contain whitespaces.
# shellcheck disable=2086
valgrind $LOGOPT $TOOLOPT --fullpath-after= "$UNILANG" "$@"
echo 'Output file is placed in "'"$OUTPUT"'".'
echo 'Done.'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。