commit | ac4e4a231f6438974f6d8adcfe91308e9d137ed4 | [log] [tgz] |
---|---|---|
author | Santiago Aboy Solanes <solanes@google.com> | Tue Nov 02 11:31:08 2021 +0000 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Nov 29 11:22:21 2021 +0000 |
tree | 6e938b4d125e90ec73090adf575b138279ac92be | |
parent | 4c7ffab617dbcb7397ba89005f75f7818a27cd24 [diff] |
Dump the graph before/after every pass We will now dump a partial CFG when encountering an error while compiling which is useful for debugging a crash. Also, force the number of threads to 1 if the --dump-cfg option is passed. This makes the visualizer_dump_mutex_ obsolete since there's no possibility of a race. Bug: 203755436 Test: ART tests, dumped cfg with an added CHECK(false) to verify the partial .cfg Change-Id: I55bc9ceafef9e9eb4a43e891fb88d10e619bf64c