We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e0bd3f commit 476a6d8Copy full SHA for 476a6d8
clang/lib/Driver/ToolChains/HIPUtility.cpp
@@ -106,9 +106,9 @@ class HIPUndefinedFatBinSymbols {
106
std::string ID = IA->getId().str();
107
if (!ID.empty()) {
108
ID = llvm::utohexstr(llvm::MD5Hash(ID), /*LowerCase=*/true);
109
- FatBinSymbols.insert(Twine(FatBinPrefix + "_" + ID).str());
+ FatBinSymbols.insert((FatBinPrefix + Twine('_') + ID).str());
110
GPUBinHandleSymbols.insert(
111
- Twine(GPUBinHandlePrefix + "_" + ID).str());
+ (GPUBinHandlePrefix + Twine('_') + ID).str());
112
continue;
113
}
114
if (IA->getInputArg().getNumValues() == 0)
0 commit comments