[all-commits] [llvm/llvm-project] bff2aa: [clang] Ensure `--print-runtime-dir` path exists (...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Sat Nov 1 09:55:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bff2aa63624766b1111be0ffec9645c952fc8e38
      https://github.com/llvm/llvm-project/commit/bff2aa63624766b1111be0ffec9645c952fc8e38
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2025-11-01 (Sat, 01 Nov 2025)

  Changed paths:
    M clang/lib/Driver/Driver.cpp

  Log Message:
  -----------
  [clang] Ensure `--print-runtime-dir` path exists (#102834)

Before this PR, `clang --print-runtime-dir` on Windows used to report a
non-existent directory if `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF`.

We now check if any of the known runtime directories exist before
printing any of them on stdout. If none exists, we print `(runtime dir
is not present)`.



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