HomePhabricator

[HIP] Fix default output file for -E

Authored by yaxunl on Fri, Oct 2, 5:08 AM.

Description

[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

Details

Committed
yaxunlSun, Oct 4, 7:03 PM
Differential Revision
D88730: [HIP] Fix default output file for -E
Parents
rG9756a402f297: Recommit "[HIP] Add option --gpu-instrument-lib="
Branches
Unknown
Tags
Unknown