How to Generate Code Size of llvm test suite

Hi All,

Could anyone please give your suggestions on how to generate/get Code Size of each test in LLVM TEST Suite.

Thanks & Regards,

Ramakota Reddy.

Hi Ramakota,

If you run the test suite using LNT (see:, code size should be collected automatically.

After running the test suite, you can find a JSON report containing the metrics collected about each test. This report will have a name like “output (some hash).json”.

The "size.__text” field in this report contains the text size of the final executable.

- Jessica

Thanks for your suggestions Jessica.