Skip to content

Commit

Permalink
[Clang][NFC] Fix out-of-date comments on 'clang-offload-bundler'
Browse files Browse the repository at this point in the history
Summary:
These comments are confusing as the `clang-offload-bundler` is no longer
used by these toolchains.
  • Loading branch information
jhuber6 committed Jan 26, 2023
1 parent f027dd5 commit db20228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion clang/lib/Driver/ToolChains/Cuda.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit db20228

Please sign in to comment.