Closed jcivlin closed 1 year ago
Added optional diagnostics (printing out) of order of compilation of modules in dep path and disasm of modules.
It prints the byte code and then generated llvm. The convenience of this is that if compilation panics (for a big package, for example) it shows the module where it's happened.
It is useful for both: compiler development and user debugging. On option --diagnostics it will produce information about the resolution of dependency set in -p option, also the names, addresses and list of files to compile in the package. It is an example: