A nice metric to know is how much code you have in debug info (in bytes) versus the the number of bytes for inlined functions. This patch reports the total number of bytes for concrete functions (size of all DW_TAG_subprogram DIE address ranges), and the total number of bytes for top level inlined functions. This can help users know how much code has been inlined and help users tune for code size.
The formatted JSON output looks like:
{ "version":1, "file":"/tmp/a.out.dSYM/Contents/Resources/DWARF/a.out", "format":"Mach-O 64-bit x86-64", "source functions":4, "inlined functions":6, "unique source variables":8, "source variables":10, "variables with location":10, "call site entries":0, "scope bytes total":789, "scope bytes covered":789, "total function size":147, "total inlined function size":39 }
The last two keys "total function size" and "total inlined function size" are new.