On Darwin/mach-o, llvm-size (and size) will output something like
__text
While on other platforms (e.g. GNU) you'll get
.text
codesize.py was basically pushing that platform-specific info along in its size
related output.
So, depending on the platform, we'd get
size.__text
size..text
Tools downstream from the test suite then would have to handle whatever output
the target-specific tools would produce.
Instead of doing that, let's just output something like
size_text
So all downstream consumers can just handle one single format.
This is in tandem with D146257 in LNT.
I was just thinking maybe, as a good measure, we can assert here that only one of size.__text or size..text is present in metrics.