[all-commits] [llvm/llvm-project] 5b551b: [HIP] Fix default output file for -E
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Sun Oct 4 19:10:08 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5b551b79d3bba5a8a282bf5f72c7baaccf925870
https://github.com/llvm/llvm-project/commit/5b551b79d3bba5a8a282bf5f72c7baaccf925870
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2020-10-04 (Sun, 04 Oct 2020)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/hip-output-file-name.hip
Log Message:
-----------
[HIP] Fix default output file for -E
By convention the default output file for -E is "-" (stdout).
This is expected by tools like ccache, which uses output
of -E to determine if a file and its dependence has changed.
Currently clang does not use stdout as default output file for -E
for HIP, which causes ccache not working.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D88730
More information about the All-commits
mailing list