[all-commits] [llvm/llvm-project] 297f69: [lldb] Add reproducer verifier

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Aug 31 15:14:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 297f69afac58fc9dc13897857a5e70131c5adc85
      https://github.com/llvm/llvm-project/commit/297f69afac58fc9dc13897857a5e70131c5adc85
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-08-31 (Mon, 31 Aug 2020)

  Changed paths:
    M lldb/include/lldb/API/SBReproducer.h
    M lldb/include/lldb/Utility/Reproducer.h
    M lldb/source/API/SBReproducer.cpp
    M lldb/source/Commands/CommandObjectReproducer.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Utility/Reproducer.cpp
    M lldb/source/Utility/ReproducerProvider.cpp
    M lldb/test/Shell/Reproducer/TestDebugSymbols.test
    A lldb/test/Shell/Reproducer/TestVerify.test
    M lldb/tools/driver/Driver.cpp
    M lldb/tools/driver/Options.td
    M llvm/include/llvm/Support/VirtualFileSystem.h
    M llvm/lib/Support/VirtualFileSystem.cpp

  Log Message:
  -----------
  [lldb] Add reproducer verifier

Add a reproducer verifier that catches:

 - Missing or invalid home directory
 - Missing or invalid working directory
 - Missing or invalid module/symbol paths
 - Missing files from the VFS

The verifier is enabled by default during replay, but can be skipped by
passing --reproducer-no-verify.

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




More information about the All-commits mailing list