dcbaker / meson-plus-plus

An experimental and incomplete implementation of Meson in C++, for solving Meson's bootstrapping issue.
Apache License 2.0
50 stars 7 forks source link

Add a MIR printer #121

Closed dcbaker closed 1 year ago

dcbaker commented 1 year ago

This prints MIR data into a (mostly) human readable form before the first optimization loop, and and at the end of each loop after that. It's controlled by the MESONPP_DEBUG_PRINT_MIR environment variable. The format is inspired by NIX, and is in no way to be considered stable or suitable as any kind of interchange format.