[all-commits] [llvm/llvm-project] 30bb65: [Dexter] Allow Dexter watch commands to specify a ...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Mon Jun 13 06:45:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30bb659c6f992d2dcf03cfc1d19c560f704035f6
      https://github.com/llvm/llvm-project/commit/30bb659c6f992d2dcf03cfc1d19c560f704035f6
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/Commands.md
    M cross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
    M cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
    M cross-project-tests/debuginfo-tests/dexter/dex/utils/Exceptions.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_out_range.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/float_range_zero_nonmatch.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_multiple.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_no_arg.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_small.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/float_range_watch/float_range_zero_match.cpp

  Log Message:
  -----------
  [Dexter] Allow Dexter watch commands to specify a range of acceptable FP values

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.

Differential Revision: https://reviews.llvm.org/D124511




More information about the All-commits mailing list