Update drgn to Omar's branch

This commit is contained in:
Thierry Treyer 2023-12-07 06:56:25 -08:00 committed by Jake Hillion
parent 9047f69db4
commit 33b67e6caf
3 changed files with 5 additions and 3 deletions

2
extern/drgn vendored

@ -1 +1 @@
Subproject commit de2480353e73a48063f4eca4b620d72e80e5246f Subproject commit b1f8c3e8526611b6720800250ba858a713dd9e4f

View File

@ -281,7 +281,9 @@ void serialize(Archive& ar,
// and `num_parents` set to NULL/0 per the initial `memset`, see // and `num_parents` set to NULL/0 per the initial `memset`, see
// "AVOIDING OVERSERIALIZATION" comment above // "AVOIDING OVERSERIALIZATION" comment above
ar& type._private.die_addr; uintptr_t die_addr = (uintptr_t)type._private.die_addr;
ar& die_addr;
type._private.die_addr = (void*)die_addr;
// `.module` is NULL, per the initial `memset` // `.module` is NULL, per the initial `memset`
if (Archive::is_saving::value) { if (Archive::is_saving::value) {
struct drgn_error* err = drgn_type_sizeof(&type, &type._private.oi_size); struct drgn_error* err = drgn_type_sizeof(&type, &type._private.oi_size);

View File

@ -45,7 +45,7 @@ DEFINE_TYPE_VERSION(FuncDesc::Retval, 56, 2)
DEFINE_TYPE_VERSION(FuncDesc::Range, 16, 2) DEFINE_TYPE_VERSION(FuncDesc::Range, 16, 2)
DEFINE_TYPE_VERSION(FuncDesc, 104, 4) DEFINE_TYPE_VERSION(FuncDesc, 104, 4)
DEFINE_TYPE_VERSION(GlobalDesc, 72, 4) DEFINE_TYPE_VERSION(GlobalDesc, 72, 4)
DEFINE_TYPE_VERSION(struct drgn_type, 152, 4) DEFINE_TYPE_VERSION(struct drgn_type, 160, 4)
DEFINE_TYPE_VERSION(DrgnClassMemberInfo, 64, 3) DEFINE_TYPE_VERSION(DrgnClassMemberInfo, 64, 3)
DEFINE_TYPE_VERSION(struct drgn_qualified_type, 16, 2) DEFINE_TYPE_VERSION(struct drgn_qualified_type, 16, 2)
DEFINE_TYPE_VERSION(RootInfo, 48, 2) DEFINE_TYPE_VERSION(RootInfo, 48, 2)