[all-commits] [llvm/llvm-project] 7209c7: [clang][Driver][test] Specify output path in modul...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Tue Sep 8 18:20:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7209c7af3323615c632a3409a2a776b29fbac528
      https://github.com/llvm/llvm-project/commit/7209c7af3323615c632a3409a2a776b29fbac528
  Author: Vy Nguyen <1762963+oontvoo at users.noreply.github.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M clang/test/Driver/modules-driver-depscan-log.cpp

  Log Message:
  -----------
  [clang][Driver][test] Specify output path in modules-driver-depscan-log.cpp (#222209)

In `clang/test/Driver/modules-driver-depscan-log.cpp`, `%clang -c` is
invoked on `%t/A.cppm` without an explicit output file (`-o`). By
default, Clang writes the resulting object file (`A.o`) to the current
working directory.
In sandboxed or hermetic test environments where the test runner
executes with a read-only working directory (e.g., Bazel, Nix, or remote
build executors), the test fails with:

```text
error: unable to open output file 'A.o': 'Permission denied'
1 error generated.



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