[all-commits] [llvm/llvm-project] 37282b: [clang] Load `-fembed-offload-object=` through the...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Sep 26 10:35:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37282bcee10dc20d0469d014e566f42377f0c22c
      https://github.com/llvm/llvm-project/commit/37282bcee10dc20d0469d014e566f42377f0c22c
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M clang/include/clang/CodeGen/BackendUtil.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [clang] Load `-fembed-offload-object=` through the VFS (#160906)

This PR loads the path from `-fembed-offload-object=<path>` through the
VFS rather than going straight to the real file system. This matches the
behavior of other input files of the compiler. This technically changes
behavior in that `-fembed-offload-object=-` no longer loads the file
from stdin, but I don't think that was the intention of the original
code anyways.



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