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

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Sep 2 22:20:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3746906193c1be913fe60072de9d4feb80f9c461
      https://github.com/llvm/llvm-project/commit/3746906193c1be913fe60072de9d4feb80f9c461
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-09-02 (Wed, 02 Sep 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