File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
tools/swift-reflection-test Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ int doDumpHeapInstance(const char *BinaryFilename) {
388
388
389
389
uintptr_t instance = PipeMemoryReader_receiveInstanceAddress (& Pipe );
390
390
assert (instance );
391
- printf ("Parent: instance pointer in child address space: 0x%lx\n" ,
391
+ printf ("Instance pointer in child address space: 0x%lx\n" ,
392
392
instance );
393
393
394
394
uintptr_t isa ;
@@ -413,15 +413,19 @@ int doDumpHeapInstance(const char *BinaryFilename) {
413
413
uintptr_t isaMask ;
414
414
if (!swift_reflection_readIsaMask (RC , & isaMask ))
415
415
errorAndExit ("Couldn't read isa mask" );
416
- printf ("Parent: isa mask in child address space: 0x%lx\n" , isaMask );
416
+ printf ("isa mask in child address space: 0x%lx\n" , isaMask );
417
417
418
418
isa &= isaMask ;
419
419
420
- printf ("Parent: metadata pointer in child address space: 0x%lx\n" , isa );
421
- printf ("Decoding type reference ...\n" );
420
+ printf ("Metadata pointer in child address space: 0x%lx\n\n" , isa );
421
+
422
+ printf ("Type reference:\n" );
422
423
423
424
swift_typeref_t TR = swift_reflection_typeRefForMetadata (RC , isa );
424
425
swift_reflection_dumpTypeRef (TR );
426
+ printf ("\n" );
427
+
428
+ printf ("Type info:\n" );
425
429
swift_reflection_dumpInfoForMetadata (RC , isa );
426
430
}
427
431
}
You can’t perform that action at this time.
0 commit comments