[all-commits] [llvm/llvm-project] 0dd4f0: [OpenMP]Fix PR50336: Remove temporary files in the...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Aug 16 11:34:40 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 0dd4f002e1d3ccddfc519e02f9ab5cdd9c8d26d1
https://github.com/llvm/llvm-project/commit/0dd4f002e1d3ccddfc519e02f9ab5cdd9c8d26d1
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[OpenMP]Fix PR50336: Remove temporary files in the offload bundler tool
Temporary files created by the offloading device toolchain are not removed
after compilation when using a two-step compilation. The offload-bundler uses a
different filename for the device binary than the `.o` file present in the
Job's input list. This is not listed as a temporary file so it is never
removed. This patch explicitly adds the device binary as a temporary file to
consume it. This fixes PR50336.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D107668
(cherry picked from commit 01d59c0de822099c62f12f275c41338f6df9f5ac)
More information about the All-commits
mailing list