mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Note out-of-component pointers.
This commit is contained in:
parent
19c7b311b2
commit
e4a3611b34
@ -384,10 +384,14 @@ int main(int argc, char **argv)
|
||||
AllocationNode *target = (AllocationNode*)
|
||||
PL_HashTableLookup(memory_map, *(void**)(e->data + d));
|
||||
if (target) {
|
||||
printf(" <a href=\"#o%d\">0x%08X</a> <%s>\n",
|
||||
printf(" <a href=\"#o%d\">0x%08X</a> <%s>",
|
||||
target - nodes,
|
||||
*(unsigned int*)(e->data + d),
|
||||
target->entry->type);
|
||||
if (target->index != n->index) {
|
||||
printf(", component %d", target->index);
|
||||
}
|
||||
printf("\n");
|
||||
} else {
|
||||
printf(" 0x%08X\n",
|
||||
*(unsigned int*)(e->data + d));
|
||||
@ -403,6 +407,9 @@ int main(int argc, char **argv)
|
||||
const ADLog::Entry *te = t->entry;
|
||||
printf(" <a href=\"#o%d\">%s</a> (Object %d, ",
|
||||
t - nodes, te->type, t - nodes);
|
||||
if (t->index != n->index) {
|
||||
printf("component %d, ", t->index);
|
||||
}
|
||||
if (t == n) {
|
||||
printf("self)\n");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user