[all-commits] [llvm/llvm-project] f58fde: Exclude RedirectingFileSystem with null OverlayFil...

Hiroshi Yamauchi via All-commits all-commits at lists.llvm.org
Mon Feb 24 22:52:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f58fde585775a7c25dc673076db914f8d1866081
      https://github.com/llvm/llvm-project/commit/f58fde585775a7c25dc673076db914f8d1866081
  Author: Hiroshi Yamauchi <56735936+hjyamauchi at users.noreply.github.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M clang/lib/Lex/HeaderSearch.cpp

  Log Message:
  -----------
  Exclude RedirectingFileSystem with null OverlayFileDir in VFSUsage (#128267)

This is to avoid assertion failures like the following when
RedirectingFileSystem's are created and used outside
createVFSFromOverlayFiles.

```
Assertion failed: VFSUsage.size() == getHeaderSearchOpts().VFSOverlayFiles.size() && "A different number of RedirectingFileSystem's were present than " "-ivfsoverlay options passed to Clang!", file S:\SourceCache\llvm-project\clang\lib\Lex\HeaderSearch.cpp, line 162
```



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