From f15016227b93d958d943e32ed7129462c8a8c7d5 Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Tue, 16 Aug 2022 19:09:04 -0700 Subject: [PATCH] SWDEV-351609 - Updating the right structure with file info. Change-Id: Ia4e1195df0669450162b2df4de50197ff27cfcae --- hipamd/src/hiprtc/hiprtcInternal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/src/hiprtc/hiprtcInternal.cpp b/hipamd/src/hiprtc/hiprtcInternal.cpp index 746c769dad..816a1ca24f 100644 --- a/hipamd/src/hiprtc/hiprtcInternal.cpp +++ b/hipamd/src/hiprtc/hiprtcInternal.cpp @@ -536,7 +536,7 @@ bool RTCLinkProgram::AddLinkerFile(std::string file_path, hiprtcJITInputType inp llvm_bitcode.assign(link_file_info.begin() + co_offset, link_file_info.begin() + co_offset + co_size); } else { - llvm_bitcode.assign(link_file_name.begin(), link_file_name.end()); + llvm_bitcode.assign(link_file_info.begin(), link_file_info.end()); } amd_comgr_data_kind_t data_kind;