LibELF: Indicate value of unimplemented dtag

For flags that are not mapped to a string this message prints DT_??,
which isn't really useful.
This commit is contained in:
Rodrigo Tobar 2021-09-26 00:55:53 +08:00 committed by Andreas Kling
parent a67e06184b
commit 5ae384fc33
Notes: sideshowbarker 2024-07-18 03:26:28 +09:00

View File

@ -166,7 +166,7 @@ void DynamicObject::parse()
case DT_SYMBOLIC:
break;
default:
dbgln("DynamicObject: DYNAMIC tag handling not implemented for DT_{}", name_for_dtag(entry.tag()));
dbgln("DynamicObject: DYNAMIC tag handling not implemented for DT_{} ({})", name_for_dtag(entry.tag()), entry.tag());
VERIFY_NOT_REACHED(); // FIXME: Maybe just break out here and return false?
break;
}