[Clang][NFC] Fix out-of-date comments on 'clang-offload-bundler'
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 26 Jan 2023 19:02:22 +0000 (13:02 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Thu, 26 Jan 2023 19:03:01 +0000 (13:03 -0600)
Summary:
These comments are confusing as the `clang-offload-bundler` is no longer
used by these toolchains.

clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/Cuda.cpp

index 1a8e429..68d351a 100644 (file)
@@ -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);
 }
 
index 9a231c0..6dfd016 100644 (file)
@@ -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);
 }