[PATCH] D124253: [Clang][OpenMP] Fix the issue that one temp cubin file is not removed after compilation
Shilei Tian via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 22 05:42:14 PDT 2022
tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, jhuber6.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
tianshilei1992 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.
The output of `assemble` is not added into `TempFiles`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124253
Files:
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Index: clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
===================================================================
--- clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+++ clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
@@ -1093,6 +1093,7 @@
if (!FileOrErr)
return FileOrErr.takeError();
File = *FileOrErr;
+ TempFiles.push_back(static_cast<std::string>(File));
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124253.424452.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220422/853005ec/attachment-0001.bin>
More information about the cfe-commits
mailing list