I’m in the process of updating debugir to llvm 15 with opaque pointers. Before I make changes I wanted to inspect/view certain variables so I know things still look sensible after I’ve made my changes. To do this I tried to use lldb:
(lldb) n
Process 89257 stopped
* thread #1, name = 'debugir', stop reason = breakpoint 2.1
frame #0: 0x000000000041f7dd debugir`(anonymous namespace)::DIUpdater::getOrCreateType(this=0x00007ffffffec930, T=0x0000000000cee0c8) const at DebugIR.cpp:473:12
470 encoding);
471 }
472 TypeDescriptors[T] = N;
-> 473 return N;
474 }
475
476 /// Returns a DebugInfo type that represents a function signature for Func.
(lldb) fr v N
(llvm::DIType *) N = 0x0000000000d67448
Is there a way I can print a string/debug representation of the actual DIType that N points too?
I’m a rust programmer, so I may be missing obvious/known C++ conventions.