xermicus / revive

Solidity compiler for PolkaVM
Apache License 2.0
16 stars 4 forks source link

[solidity,llvm-context] Improve support for debugging the compiler #32

Closed wpt967 closed 3 weeks ago

wpt967 commented 3 weeks ago

Add option --recursive-process-input for use with --recursive-process to specify the name of a file to use instead of reading from stdin.

If --debug-output-dir is set, dump the file passed to the recursive invocation of the compiler as a JSON file suitable for use with --recursive-process-input.

These changes are intended to support debugging the compiler and are only available with DEBUG builds.