[clang] 46a5a80 - [OpenMP] Fix save-temps name in linker wrapper
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Tue May 3 17:51:37 PDT 2022
Author: Joseph Huber
Date: 2022-05-03T20:51:05-04:00
New Revision: 46a5a8029e151daf6cb97d51c9cdd1aeab59de78
URL: https://github.com/llvm/llvm-project/commit/46a5a8029e151daf6cb97d51c9cdd1aeab59de78
DIFF: https://github.com/llvm/llvm-project/commit/46a5a8029e151daf6cb97d51c9cdd1aeab59de78.diff
LOG: [OpenMP] Fix save-temps name in linker wrapper
Summary:
The wrapped registration code had a typo in the save-temps version of
the name.
Added:
Modified:
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Removed:
################################################################################
diff --git a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
index 4ed303fa233f0..d9a7fecdde24f 100644
--- a/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+++ b/clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
@@ -1185,9 +1185,8 @@ Expected<std::string> compileModule(Module &M) {
SmallString<128> ObjectFile;
int FD = -1;
- if (Error Err = createOutputFile(sys::path::filename(ExecutableName) +
- "offload-wrapper",
- "o", ObjectFile))
+ if (Error Err = createOutputFile(
+ sys::path::filename(ExecutableName) + "-wrapper", "o", ObjectFile))
return std::move(Err);
if (std::error_code EC = sys::fs::openFileForWrite(ObjectFile, FD))
return errorCodeToError(EC);
More information about the cfe-commits
mailing list