mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
[libomptarget][amdgcn] Remove lookup of .language msgpack field
This commit is contained in:
parent
55756f32f7
commit
53d7fd3762
@ -822,7 +822,6 @@ static hsa_status_t get_code_object_custom_metadata(void *binary,
|
||||
for (size_t i = 0; i < kernelsSize; i++) {
|
||||
assert(msgpack_errors == 0);
|
||||
std::string kernelName;
|
||||
std::string languageName;
|
||||
std::string symbolName;
|
||||
|
||||
msgpack::byte_range element;
|
||||
@ -830,7 +829,6 @@ static hsa_status_t get_code_object_custom_metadata(void *binary,
|
||||
msgpackErrorCheck(element lookup in kernel metadata, msgpack_errors);
|
||||
|
||||
msgpack_errors += map_lookup_string(element, ".name", &kernelName);
|
||||
msgpack_errors += map_lookup_string(element, ".language", &languageName);
|
||||
msgpack_errors += map_lookup_string(element, ".symbol", &symbolName);
|
||||
msgpackErrorCheck(strings lookup in kernel metadata, msgpack_errors);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user