[all-commits] [llvm/llvm-project] df5bee: [Driver] Add --vfsoverlay flag

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Feb 13 09:26:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df5beebc98bbe76312e3a416d5fbc563c037923c
      https://github.com/llvm/llvm-project/commit/df5beebc98bbe76312e3a416d5fbc563c037923c
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Driver/msvc-link.c
    M clang/test/Driver/vfsoverlay.c

  Log Message:
  -----------
  [Driver] Add --vfsoverlay flag

This flag implies `-ivfsoverlay`, and additionally passes the same
argument to the linker if it supports it. At present the only linker
which does is lld-link, so this functionality has only been added to
the MSVC toolchain. Additionally this option has been made a
CoreOption so that clang-cl can use it without `-Xclang`

Differential Revision: https://reviews.llvm.org/D141808




More information about the All-commits mailing list