[all-commits] [llvm/llvm-project] 2509f9: [clang] Don't crash when loading invalid VFS for t...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Mon Apr 26 17:05:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2509f9fbad0d37e3e5fea934c0ae7af3877ba4ae
      https://github.com/llvm/llvm-project/commit/2509f9fbad0d37e3e5fea934c0ae7af3877ba4ae
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2021-04-26 (Mon, 26 Apr 2021)

  Changed paths:
    A clang/test/VFS/broken-vfs-module-dep.c
    M llvm/lib/Support/VirtualFileSystem.cpp

  Log Message:
  -----------
  [clang] Don't crash when loading invalid VFS for the module dep collector

The VFS is null when it's invalid so return early in collectVFSFromYAML.




More information about the All-commits mailing list