[clang] db20228 - [Clang][NFC] Fix out-of-date comments on 'clang-offload-bundler'
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 11:03:16 PST 2023
Author: Joseph Huber
Date: 2023-01-26T13:03:01-06:00
New Revision: db202286eb7b3f6725c82ded4f5c8b31ea648521
URL: https://github.com/llvm/llvm-project/commit/db202286eb7b3f6725c82ded4f5c8b31ea648521
DIFF: https://github.com/llvm/llvm-project/commit/db202286eb7b3f6725c82ded4f5c8b31ea648521.diff
LOG: [Clang][NFC] Fix out-of-date comments on 'clang-offload-bundler'
Summary:
These comments are confusing as the `clang-offload-bundler` is no longer
used by these toolchains.
Added:
Modified:
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp b/clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
index 1a8e4294713c3..68d351af22603 100644
--- a/clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
+++ b/clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
@@ -35,7 +35,7 @@ AMDGPUOpenMPToolChain::AMDGPUOpenMPToolChain(const Driver &D,
const ArgList &Args)
: ROCMToolChain(D, Triple, Args), HostTC(HostTC) {
// Lookup binaries into the driver directory, this is used to
- // discover the clang-offload-bundler executable.
+ // discover the 'amdgpu-arch' executable.
getProgramPaths().push_back(getDriver().Dir);
}
diff --git a/clang/lib/Driver/ToolChains/Cuda.cpp b/clang/lib/Driver/ToolChains/Cuda.cpp
index 9a231c06a0749..6dfd016efe673 100644
--- a/clang/lib/Driver/ToolChains/Cuda.cpp
+++ b/clang/lib/Driver/ToolChains/Cuda.cpp
@@ -707,7 +707,7 @@ NVPTXToolChain::NVPTXToolChain(const Driver &D, const llvm::Triple &Triple,
getProgramPaths().push_back(std::string(CudaInstallation.getBinPath()));
}
// Lookup binaries into the driver directory, this is used to
- // discover the clang-offload-bundler executable.
+ // discover the 'nvptx-arch' executable.
getProgramPaths().push_back(getDriver().Dir);
}
More information about the cfe-commits
mailing list