[all-commits] [llvm/llvm-project] 295eb5: [llvm] Don't create the directory hierarchy in the...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Aug 17 11:21:59 PDT 2020


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

  Changed paths:
    M llvm/lib/Support/FileCollector.cpp

  Log Message:
  -----------
  [llvm] Don't create the directory hierarchy in the FileCollector...

... if the collected file doesn't exists.

This fixes the situation where LLDB can't create a file when capturing a
reproducer because the parent path doesn't exist, but can during replay
because the file collector created the directory hierarchy even though
the file doesn't exist.

This is covered by the lldb reproducer test suite.




More information about the All-commits mailing list