[all-commits] [llvm/llvm-project] 5f0c3b: Fix TestFormatters.py stepping too far

Diana via All-commits all-commits at lists.llvm.org
Fri Nov 15 05:21:14 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f0c3bad2f03b9bba7f899d7b0ce667ca355f69d
      https://github.com/llvm/llvm-project/commit/5f0c3bad2f03b9bba7f899d7b0ce667ca355f69d
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py
    M lldb/packages/Python/lldbsuite/test/commands/expression/formatters/main.cpp

  Log Message:
  -----------
  Fix TestFormatters.py stepping too far

TestFormatters.py has a sequence of three 'next' commands to get past
all the initializations in the test function. On AArch64 (and
potentially other platforms), this was one 'next' too many and we ended
up outside our frame.

This patch replaces the sequence with a 'thread until ' the line of the
return from the function, so we should stop after all the
initializations but before actually returning.

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




More information about the All-commits mailing list