diff --git a/rocclr/runtime/device/devprogram.cpp b/rocclr/runtime/device/devprogram.cpp index 1e1be21573..7c61f12936 100644 --- a/rocclr/runtime/device/devprogram.cpp +++ b/rocclr/runtime/device/devprogram.cpp @@ -1014,8 +1014,9 @@ bool Program::linkImplLC(const std::vector& inputPrograms, } if (result) { + std::string llvmName = "LLVM Binary " + std::to_string(idx); result = (addCodeObjData(program->llvmBinary_.data(), program->llvmBinary_.size(), - AMD_COMGR_DATA_KIND_BC, "LLVM Binary " + idx, &inputs) == + AMD_COMGR_DATA_KIND_BC, llvmName.c_str(), &inputs) == AMD_COMGR_STATUS_SUCCESS); }