[all-commits] [llvm/llvm-project] 59eb70: [lldb] Remove FileSystem::Initialize from VFS mapping

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Mar 3 11:02:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59eb70527741594fe3c92d0a1b6704ed45111437
      https://github.com/llvm/llvm-project/commit/59eb70527741594fe3c92d0a1b6704ed45111437
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M lldb/include/lldb/Host/FileSystem.h
    M lldb/source/Host/common/FileSystem.cpp
    M lldb/source/Host/macosx/objcxx/Host.mm
    M lldb/source/Initialization/SystemInitializerCommon.cpp

  Log Message:
  -----------
  [lldb] Remove FileSystem::Initialize from VFS mapping

This patch removes the ability to instantiate the LLDB FileSystem class
based on a VFS overlay. This also removes the "hack" where we cast the
VFS to a RedirectingFileSystem to obtain the external path. You can
still instantiate a FileSystem with a VFS, but with the caveat that
operations that rely on the external path won't work.

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




More information about the All-commits mailing list