Really, really make sure arrays have a name (#430)

This commit is contained in:
Jon Haslam 2023-12-13 16:28:31 +00:00 committed by GitHub
parent d79b55cfd2
commit 8193d271a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,6 +528,8 @@ bool OICodeGen::buildNameInt(drgn_type* type,
if (drgn_type_has_name(arrayElementType)) {
templateParamName = drgn_type_name(arrayElementType);
} else if (drgn_type_has_tag(arrayElementType)) {
templateParamName = drgn_type_tag(arrayElementType);
} else {
LOG(ERROR) << "Failed4 to get typename ";
return false;