Common string entry (#971)

* Common string entry

* Add lib/common/string_entry.cpp + return const string*
This commit is contained in:
Jonathan R. Madsen
2024-07-17 01:07:49 -05:00
کامیت شده توسط GitHub
والد 34897d318f
کامیت 90accda152
7فایلهای تغییر یافته به همراه125 افزوده شده و 71 حذف شده
@@ -61,7 +61,7 @@ struct code_object
bool beg_notified = false;
bool end_notified = false;
std::string* uri = {};
const std::string* uri = nullptr;
hsa_executable_t hsa_executable = {};
hsa_loaded_code_object_t hsa_code_object = {};
code_object_data_t rocp_data = common::init_public_api_struct(code_object_data_t{});
@@ -60,7 +60,7 @@ struct kernel_symbol
bool beg_notified = false;
bool end_notified = false;
std::string* name = {};
const std::string* name = nullptr;
hsa_executable_t hsa_executable = {};
hsa_agent_t hsa_agent = {};
hsa_executable_symbol_t hsa_symbol = {};