D109576 broke code size metric collection on Darwin platforms.
This patch restores support in Darwin.
The reason support was broken is that llvm-size outputs text section size with leading underscores, while on other platforms, it leads with periods.
In light of the comment below, this could become:
{{ test.metrics['size..text'] or test.metrics['size.__text'] if test.metrics }};\or, better yet
{{ test.metrics.get('size..text') or test.metrics.get('size.__text') if test.metrics }};\