[all-commits] [llvm/llvm-project] 67420f: [lldb/Util] Add a utility to run transparently cap...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jan 20 10:30:26 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 67420f1b0e9c673ee638f2680fa83f468019004f
      https://github.com/llvm/llvm-project/commit/67420f1b0e9c673ee638f2680fa83f468019004f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M lldb/test/Shell/Reproducer/lit.local.cfg
    M lldb/test/Shell/helper/toolchain.py
    M lldb/test/Shell/lit.cfg.py
    M lldb/utils/CMakeLists.txt
    A lldb/utils/lldb-repro/CMakeLists.txt
    A lldb/utils/lldb-repro/lldb-repro.py

  Log Message:
  -----------
  [lldb/Util] Add a utility to run transparently capture and replay tests.

This patch introduces a small new utility (lldb-repro) to transparently
capture and replay debugger sessions through the command line driver.
Its used to test the reproducers by running the test suite twice.

During the first run, it captures a reproducer for every lldb invocation
and saves it to a well-know location derived from the arguments and
current working directory. During the second run, the test suite is run
again but this time every invocation of lldb replays the previously
recorded session.

Differential revision: https://reviews.llvm.org/D72823




More information about the All-commits mailing list