facebookexperimental / object-introspection

Object Introspection (OI) enables on-demand, hierarchical profiling of objects in arbitrary C/C++ programs with no recompilation.
Apache License 2.0
160 stars 13 forks source link

tbv2: codegen fails on top level incomplete objects #459

Open JakeHillion opened 8 months ago

JakeHillion commented 8 months ago

CodeGen-v2 doesn't have enough information to generate TreeBuilder information for a top level incomplete structure (struct IncompleteStruct*). Whether we should care about this is another question... Running OIL directly on an incomplete structure is entirely pointless.

Examples: