[PATCH] D124511: [Dexter] Allow Dexter watch commands to specify a range of acceptable FP values
Stephen Tozer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 27 02:39:26 PDT 2022
StephenTozer created this revision.
StephenTozer added reviewers: Orlando, jmorse.
StephenTozer added a project: debug-info.
Herald added a project: All.
StephenTozer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds an optional argument to DexExpectWatchBase, `float_range`, which defines a +- acceptance range for expected floating point values. If passed, this assumes every expected value to be a floating point value, and an exception will be thrown if this is not the case.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124511
Files:
cross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Exceptions.py
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_out_range.cpp
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_small.cpp
cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_zero.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124511.425449.patch
Type: text/x-patch
Size: 11207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220427/3a11a600/attachment.bin>
More information about the llvm-commits
mailing list