llvm-project
bff2aa63 - [clang] Ensure `--print-runtime-dir` path exists (#102834)

Commit
178 days ago
[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)`.
Author
Parents
Loading