[all-commits] [llvm/llvm-project] 31fa76: [lldb] Check that files exists before handing them...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Feb 18 16:16:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31fa76fd24adea755e4368674a59385d2c5b0cc7
      https://github.com/llvm/llvm-project/commit/31fa76fd24adea755e4368674a59385d2c5b0cc7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M lldb/source/Utility/Reproducer.cpp

  Log Message:
  -----------
  [lldb] Check that files exists before handing them off to FileCollector

The FileCollector asserts that paths passed to addDirectory are indeed
directories. For that to work, the file needs to actually exist. In the
downstream Swift fork we have tests that remove files during testing,
which resulted in this assertion getting triggered.




More information about the All-commits mailing list