[all-commits] [llvm/llvm-project] 9deba0: [support] Use VFS in `SourceMgr` for loading inclu...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Oct 15 09:24:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9deba01c1d5db607da5b943bd5a6185384608605
      https://github.com/llvm/llvm-project/commit/9deba01c1d5db607da5b943bd5a6185384608605
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/tools/driver/cc1as_main.cpp
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/include/llvm/Support/SourceMgr.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
    M llvm/lib/Support/SourceMgr.cpp
    M llvm/lib/TableGen/Main.cpp
    M llvm/lib/TableGen/Parser.cpp
    M llvm/tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp
    M llvm/tools/llvm-mc/llvm-mc.cpp
    M llvm/tools/llvm-ml/llvm-ml.cpp
    M llvm/unittests/Support/SourceMgrTest.cpp
    M mlir/lib/IR/Diagnostics.cpp
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
    M mlir/tools/mlir-pdll/mlir-pdll.cpp

  Log Message:
  -----------
  [support] Use VFS in `SourceMgr` for loading includes (#162903)

Most `SourceMgr` clients don't make use of include files, but those that
do might want to specify the file system to use. This patch enables that
by making it possible to pass a `vfs::FileSystem` instance into
`SourceMgr`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list